Skip to content
This repository was archived by the owner on Feb 9, 2023. It is now read-only.

Commit 9f3061e

Browse files
committed
Fix workflow
1 parent 09af2eb commit 9f3061e

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/nodejs.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,10 @@ jobs:
2727
- uses: actions/checkout@v2
2828

2929
- name: Use Node.js ${{ matrix.node }}
30-
uses: actions/setup-node@v1
30+
uses: actions/setup-node@v2
3131
with:
3232
node-version: ${{ matrix.node }}
33-
34-
- name: Install latest npm
35-
run: npm install --global npm@latest
33+
cache: 'npm'
3634

3735
- name: Install dependencies
3836
run: npm ci
@@ -54,12 +52,10 @@ jobs:
5452
- uses: actions/checkout@v2
5553

5654
- name: Use Node.js ${{ matrix.node }}
57-
uses: actions/setup-node@v1
55+
uses: actions/setup-node@v2
5856
with:
5957
node-version: ${{ matrix.node }}
60-
61-
- name: Install latest npm
62-
run: npm install --global npm@latest
58+
cache: 'npm'
6359

6460
- name: Install dependencies
6561
run: npm ci

0 commit comments

Comments
 (0)