Skip to content

Commit 0040394

Browse files
committed
fix: ci fix
1 parent 823d267 commit 0040394

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/ci.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ jobs:
1010
build-and-test:
1111
runs-on: ubuntu-latest
1212

13-
strategy:jobs:
14-
build-and-test:
15-
runs-on: ubuntu-latest
16-
1713
strategy:
1814
matrix:
1915
node-version: [22.x]
@@ -22,14 +18,17 @@ jobs:
2218
- name: Checkout code
2319
uses: actions/checkout@v4
2420

25-
- name: Setup Node.js and cache npm
21+
- name: Enable Corepack
22+
run: corepack enable
23+
24+
- name: Setup Node.js & cache npm
2625
uses: actions/setup-node@v4
2726
with:
2827
node-version: ${{ matrix.node-version }}
29-
cache: 'npm'
28+
cache: npm
3029

3130
- name: Install dependencies
32-
run: npm ci
31+
run: npm install --frozen-lockfile
3332

3433
- name: Lint code
3534
run: npm run lint
@@ -39,4 +38,3 @@ jobs:
3938

4039
- name: Build project
4140
run: npm run build
42-

0 commit comments

Comments
 (0)