Skip to content

Commit c1953cf

Browse files
committed
use npm@9 on github ci
1 parent 0fc6c3a commit c1953cf

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ jobs:
2525
cache: 'npm'
2626
node-version: ${{ env.NODE_VERSION }}
2727

28-
- name: Install dependencies
29-
run: npm install
28+
- run: npm i -g npm@9
29+
- run: npm ci
3030

3131
- name: Lint
3232
run: npm run lint
@@ -46,8 +46,8 @@ jobs:
4646
cache: 'npm'
4747
node-version: ${{ env.NODE_VERSION }}
4848

49-
- name: Install dependencies
50-
run: npm install
49+
- run: npm i -g npm@9
50+
- run: npm ci
5151

5252
- name: Test
5353
uses: percy/[email protected]
@@ -71,8 +71,8 @@ jobs:
7171
cache: 'npm'
7272
node-version: ${{ env.NODE_VERSION }}
7373

74-
- name: Install dependencies
75-
run: npm install
74+
- run: npm i -g npm@9
75+
- run: npm ci
7676

7777
- name: Test
7878
run: npm run test:node

0 commit comments

Comments
 (0)