From fd8111ab13da6f5a01f8c7ab042e44392801a838 Mon Sep 17 00:00:00 2001 From: Ricardo Gobbo de Souza Date: Mon, 21 Mar 2022 09:22:39 -0300 Subject: [PATCH] ci: remove install NPM steps (#261) --- .github/workflows/nodejs.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 7adaa71..c994bda 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -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 @@ -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] @@ -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