Skip to content

Commit 5a57716

Browse files
committed
Add Node.js module caching to GitHub Actions
1 parent 6762914 commit 5a57716

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)