File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : SoulField CI
2-
1+ name : CI
32on :
43 push :
5- branches : [ main ]
64 pull_request :
7- branches : [ main ]
8-
9- concurrency :
10- group : ${{ github.workflow }}-${{ github.ref }}
11- cancel-in-progress : true
125
136jobs :
147 test :
158 runs-on : ubuntu-latest
16- strategy :
17- matrix :
18- node-version : [20.x, 22.x] # LTS + current
199 defaults :
2010 run :
2111 working-directory : soulfield-v2-mvp
12+ strategy :
13+ matrix :
14+ node : [20.x, 22.x]
2215 steps :
23- - name : Checkout
24- uses : actions/checkout@v4
25-
26- - name : Setup Node ${{ matrix.node-version }}
27- uses : actions/setup-node@v4
16+ - uses : actions/checkout@v4
17+ - uses : actions/setup-node@v4
2818 with :
29- node-version : ${{ matrix.node-version }}
19+ node-version : ${{ matrix.node }}
3020 cache : npm
3121 cache-dependency-path : soulfield-v2-mvp/package-lock.json
32-
3322 - name : Install
3423 run : npm ci
35- env :
36- CI : true
37-
3824 - name : Run tests
3925 run : npm test
4026 env :
You can’t perform that action at this time.
0 commit comments