Skip to content

Commit

Permalink
ci: remove install NPM steps (#908)
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Jan 28, 2022
1 parent 1a11327 commit 4a0d409
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -119,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

Expand Down

0 comments on commit 4a0d409

Please sign in to comment.