Skip to content

Commit fb991cf

Browse files
authoredDec 16, 2020
Merge pull request #172 from MaximeKjaer/gh-actions-cache-node-modules
Add Node.js module caching to GitHub Actions
2 parents 57bfb58 + 5a57716 commit fb991cf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎.github/workflows/continuous-integration.yml

+5
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ jobs:
88
steps:
99
- uses: actions/checkout@v2
1010
- uses: actions/setup-node@v1
11+
- name: Cache Node.js modules
12+
uses: actions/cache@v2
13+
with:
14+
path: "**/node_modules"
15+
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
1116
- run: yarn
1217
- run: yarn build
1318
- run: yarn test

0 commit comments

Comments
 (0)