Skip to content

Commit 424fc82

Browse files
authored
Merge pull request actions#179 from oscard0m/add-cache-to-node-workflows
ci(workflow): add 'npm' cache for actions/setup-node in .github/workflows
2 parents fdeec47 + 82388ea commit 424fc82

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/workflow.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ jobs:
2020
uses: actions/checkout@v2
2121

2222
- name: Setup node 12
23-
uses: actions/setup-node@v1
23+
uses: actions/setup-node@v2
2424
with:
2525
node-version: 12
26+
cache: npm
2627

2728
- name: npm install
2829
run: npm install

0 commit comments

Comments
 (0)