ci(workflow): add 'npm' cache for actions/setup-node in .github/workf… · BomaUriel/setup-python@5d6f0c8 · GitHub
Skip to content

Commit 5d6f0c8

Browse files
authored
ci(workflow): add 'npm' cache for actions/setup-node in .github/workflows (actions#379)
1 parent 21c0493 commit 5d6f0c8

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

‎.github/workflows/check-dist.yml‎

Lines changed: 2 additions & 1 deletion

‎.github/workflows/licensed.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v2
1717
- name: Set Node.js 16.x
18-
uses: actions/setup-node@v2
18+
uses: actions/setup-node@v3
1919
with:
2020
node-version: 16.x
21+
cache: npm
2122
- run: npm ci
2223
- name: Install licensed
2324
run: |

‎.github/workflows/workflow.yml‎

Lines changed: 2 additions & 1 deletion

0 commit comments

Comments
 (0)