Skip to content

Commit 093d532

Browse files
committed
Add cache to workflow
1 parent 7deb469 commit 093d532

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/npmpublish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ jobs:
1212
- uses: actions/setup-node@v1
1313
with:
1414
node-version: 12
15+
- name: Cache node modules
16+
uses: actions/cache@v1
17+
with:
18+
path: node_modules
19+
key: dependencies
1520
- run: yarn
1621
- run: yarn test
1722
- run: yarn prepare

0 commit comments

Comments
 (0)