Skip to content

Commit

Permalink
ci: remove install NPM steps (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardogobbosouza authored Mar 21, 2022
1 parent 276abcd commit fd8111a
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Use latest NPM
run: sudo npm i -g npm

- name: Install dependencies
run: npm ci

Expand All @@ -55,7 +52,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [12.x, 14.x, 16.x]
node-version: [12.x, 14.x, 16.x, 17.x]
stylelint-version: [13.x, 14.x]
webpack-version: [latest]

Expand All @@ -74,14 +71,6 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Use latest NPM on ubuntu/macos
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
run: sudo npm i -g npm

- name: Use latest NPM on windows
if: matrix.os == 'windows-latest'
run: npm i -g npm

- name: Install dependencies
run: npm ci

Expand Down

0 comments on commit fd8111a

Please sign in to comment.