Skip to content

Commit 2500f1e

Browse files
authored
Update build.yml
1 parent dc8ed84 commit 2500f1e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,10 @@ jobs:
2020
uses: actions/setup-node@v2
2121
with:
2222
node-version: ${{ matrix.node-version }}
23+
- name: Cache node_modules
24+
uses: actions/cache@v2
25+
with:
26+
path: '**/node_modules'
27+
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
2328
- name: Before deploy
2429
run: npm run docs

0 commit comments

Comments
 (0)