1
0
Fork 0
mirror of https://github.com/actions/setup-python.git synced 2024-11-21 22:19:24 +00:00

ci(workflow): add 'npm' cache for actions/setup-node in .github/workflows (#379)

This commit is contained in:
Oscar Dominguez 2022-04-07 12:16:24 +02:00 committed by GitHub
parent 21c0493ecf
commit 5d6f0c8a87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View file

@ -24,9 +24,10 @@ jobs:
- uses: actions/checkout@v2
- name: Set Node.js 16.x
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: npm
- name: Install dependencies
run: npm ci

View file

@ -15,9 +15,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Set Node.js 16.x
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: npm
- run: npm ci
- name: Install licensed
run: |

View file

@ -20,9 +20,10 @@ jobs:
uses: actions/checkout@v2
- name: Set Node.js 16.x
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: npm
- name: npm ci
run: npm ci