Skip to content

Commit

Permalink
ci(workflow): add 'npm' cache for actions/setup-node in .github/workf…
Browse files Browse the repository at this point in the history
…lows (#379)
  • Loading branch information
oscard0m committed Apr 7, 2022
1 parent 21c0493 commit 5d6f0c8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/check-dist.yml
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/licensed.yml
Expand Up @@ -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: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/workflow.yml
Expand Up @@ -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
Expand Down

0 comments on commit 5d6f0c8

Please sign in to comment.