Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit ae67e47

Browse files
authored
Remove installing latest npm globally
Remove installing latest npm globally, use cached version of npm instead
1 parent 868b6de commit ae67e47

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

.github/workflows/nodejs.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ jobs:
4242
node-version: ${{ matrix.node-version }}
4343
cache: "npm"
4444

45-
- name: Use latest NPM
46-
run: sudo npm i -g npm
47-
4845
- name: Install dependencies
4946
run: npm ci
5047

@@ -93,14 +90,6 @@ jobs:
9390
node-version: ${{ matrix.node-version }}
9491
cache: "npm"
9592

96-
- name: Use latest NPM on ubuntu/macos
97-
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
98-
run: sudo npm i -g npm
99-
100-
- name: Use latest NPM on windows
101-
if: matrix.os == 'windows-latest'
102-
run: npm i -g npm
103-
10493
- name: Install dependencies
10594
run: npm ci
10695

0 commit comments

Comments
 (0)