-
Notifications
You must be signed in to change notification settings - Fork 6
40 lines (32 loc) · 915 Bytes
/
main.yml
File metadata and controls
40 lines (32 loc) · 915 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Dotfiles Install
on: [push]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
install:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- macos-14
- ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22.6.0
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9.7.1
run_install: false
- name: Install dotfiles
run: ./install