Skip to content

Commit fd8111a

Browse files
ci: remove install NPM steps (#261)
1 parent 276abcd commit fd8111a

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ jobs:
3434
with:
3535
node-version: ${{ matrix.node-version }}
3636

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

@@ -55,7 +52,7 @@ jobs:
5552
strategy:
5653
matrix:
5754
os: [ubuntu-latest, windows-latest, macos-latest]
58-
node-version: [12.x, 14.x, 16.x]
55+
node-version: [12.x, 14.x, 16.x, 17.x]
5956
stylelint-version: [13.x, 14.x]
6057
webpack-version: [latest]
6158

@@ -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)