Skip to content

Commit

Permalink
change caching
Browse files Browse the repository at this point in the history
thanks @desrosj
  • Loading branch information
pfefferle committed Aug 3, 2021
1 parent 9972040 commit 6080a4e
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,7 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: 14

- name: Cache NodeJS modules
uses: actions/cache@v2
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
cache: npm

- name: Prepare step
run: php prepare.php
Expand Down

0 comments on commit 6080a4e

Please sign in to comment.