From 6602260fa528d98e0f653d914da1d4b5fe49e4fd Mon Sep 17 00:00:00 2001 From: Nitin Kumar Date: Fri, 28 Jan 2022 18:53:58 +0530 Subject: [PATCH 1/2] ci: remove install NPM steps --- .github/workflows/nodejs.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 484b39ba..04028409 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -35,9 +35,6 @@ jobs: node-version: ${{ matrix.node-version }} cache: "npm" - - name: Use latest NPM - run: sudo npm i -g npm - - name: Install dependencies run: npm ci @@ -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 i From 03e2f9e2301b7ccf1c455b1d8e7c9d08baa709f8 Mon Sep 17 00:00:00 2001 From: Nitin Kumar Date: Fri, 28 Jan 2022 18:58:02 +0530 Subject: [PATCH 2/2] ci: remove install NPM steps --- .github/workflows/nodejs.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 04028409..7b5d8c64 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -108,14 +108,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 i