Skip to content

Commit f5f79d3

Browse files
authored
fix(ci): resolve crash in main as well (#248)
1 parent f84b430 commit f5f79d3

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/merge-to-main.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ on:
44
push:
55
branches: [main]
66

7-
env:
8-
NPM_VERSION: latest
9-
107
jobs:
118
build:
129
runs-on: ubuntu-latest
@@ -31,11 +28,8 @@ jobs:
3128
uses: actions/setup-node@v1
3229
with:
3330
node-version: ${{ matrix.node-version }}
34-
- name: Install latest npm
35-
run: |
36-
npm install -g npm@$NPM_VERSION &&
37-
npm --version &&
38-
npm list -g --depth 0
31+
- name: Install latest NPM version
32+
run: npm install -g npm@9
3933
- run: npm ci
4034
- run: npm run test-ci
4135
env:

0 commit comments

Comments
 (0)