Skip to content

Commit 05e9667

Browse files
committed
ci: run npm in soulfield-v2-mvp working directory (fix exit 127)
1 parent 5dcf338 commit 05e9667

1 file changed

Lines changed: 7 additions & 21 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,26 @@
1-
name: SoulField CI
2-
1+
name: CI
32
on:
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

136
jobs:
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:

0 commit comments

Comments
 (0)