Skip to content

Commit 4a0d409

Browse files
authored
ci: remove install NPM steps (#908)
1 parent 1a11327 commit 4a0d409

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

.github/workflows/nodejs.yml

-19
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 i
8776

@@ -119,14 +108,6 @@ jobs:
119108
node-version: ${{ matrix.node-version }}
120109
cache: "npm"
121110

122-
- name: Use latest NPM on ubuntu/macos
123-
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
124-
run: sudo npm i -g npm
125-
126-
- name: Use latest NPM on windows
127-
if: matrix.os == 'windows-latest'
128-
run: npm i -g npm
129-
130111
- name: Install dependencies
131112
run: npm i
132113

0 commit comments

Comments
 (0)