Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5d6f0c8

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

File tree

Expand file treeCollapse file tree

3 files changed

+6
-3
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+6
-3
lines changed

‎.github/workflows/check-dist.yml

Copy file name to clipboardExpand all lines: .github/workflows/check-dist.yml
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ jobs:
2424
- uses: actions/checkout@v2
2525

2626
- name: Set Node.js 16.x
27-
uses: actions/setup-node@v1
27+
uses: actions/setup-node@v3
2828
with:
2929
node-version: 16.x
30+
cache: npm
3031

3132
- name: Install dependencies
3233
run: npm ci

‎.github/workflows/licensed.yml

Copy file name to clipboardExpand all lines: .github/workflows/licensed.yml
+2-1Lines 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

Copy file name to clipboardExpand all lines: .github/workflows/workflow.yml
+2-1Lines 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: Set Node.js 16.x
23-
uses: actions/setup-node@v1
23+
uses: actions/setup-node@v3
2424
with:
2525
node-version: 16.x
26+
cache: npm
2627

2728
- name: npm ci
2829
run: npm ci

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.