Skip to content

Commit d3f4f38

Browse files
authored
Update push.yml
1 parent f9a3326 commit d3f4f38

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/push.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,23 @@ jobs:
1919
uses: actions/setup-node@v1
2020
with:
2121
node-version: 16
22+
23+
# Restore NPM Cache
24+
- name: Cache node modules
25+
uses: actions/cache@v2
26+
env:
27+
cache-name: cache-node-modules
28+
with:
29+
# npm cache files are stored in `~/.npm` on Linux/macOS
30+
path: ~/.npm
31+
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
32+
restore-keys: |
33+
${{ runner.os }}-build-${{ env.cache-name }}-
34+
${{ runner.os }}-build-
35+
${{ runner.os }}-
2236
- run: npm ci
2337
- run: npm run prepublishOnly
38+
- run: npm run test:update
2439
- run: npm run test
2540

2641
- name: "Automated Version Bump"

0 commit comments

Comments
 (0)