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 4294354

Browse filesBrowse files
authored
Merge pull request actions#174 from oscard0m/add-cache-to-node-workflows
ci(workflow): add cache to workflows using actions/setup-node
2 parents 5fa6e37 + ecb772f commit 4294354
Copy full SHA for 4294354

File tree

1 file changed

+1
-5
lines changed
Filter options

1 file changed

+1
-5
lines changed

‎.github/workflows/ci.yml

Copy file name to clipboardExpand all lines: .github/workflows/ci.yml
+1-5Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,7 @@ jobs:
1414
- uses: actions/setup-node@v2
1515
with:
1616
node-version: 12
17-
- uses: actions/cache@v2
18-
with:
19-
path: ~/.npm
20-
key: ${{runner.os}}-npm-${{hashFiles('**/package-lock.json')}}
21-
restore-keys: ${{runner.os}}-npm-
17+
cache: npm
2218
- run: npm ci
2319
- run: npm run style:check
2420
- run: npm test

0 commit comments

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