Skip to content

Commit c78fe78

Browse files
authored
ci: remove install NPM steps (#1411)
1 parent cbe3898 commit c78fe78

File tree

3 files changed

+1031
-1164
lines changed

3 files changed

+1031
-1164
lines changed

.github/workflows/nodejs.yml

-11
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ jobs:
3535
node-version: ${{ matrix.node-version }}
3636
cache: "npm"
3737

38-
- name: Use latest NPM
39-
run: sudo npm i -g npm
40-
4138
- name: Install dependencies
4239
run: npm ci
4340

@@ -74,14 +71,6 @@ jobs:
7471
node-version: ${{ matrix.node-version }}
7572
cache: "npm"
7673

77-
- name: Use latest NPM on ubuntu/macos
78-
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
79-
run: sudo npm i -g npm
80-
81-
- name: Use latest NPM on windows
82-
if: matrix.os == 'windows-latest'
83-
run: npm i -g npm
84-
8574
- name: Install dependencies
8675
run: npm ci
8776

0 commit comments

Comments
 (0)