diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2021-09-30 00:35:26 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2021-09-30 00:35:54 -0400 |
| commit | f4c40e0a653695d7ad348a91efa6258ac965b7a6 (patch) | |
| tree | ae93c9b98a54bdd1c821cfc0e886bacb0303348d /.github | |
| parent | 7e63dc29d312fb700ffec60062542b8df8875c53 (diff) | |
use setup-node to cache node modules for workflow
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/static.yml | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 9a23083b..fd242b98 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -14,14 +14,8 @@ jobs: with: submodules: true - uses: actions/setup-node@v2.4.1 - - - name: Cache node modules - uses: actions/cache@v2.1.6 - env: - cache-name: cache-node-modules with: - path: ~/.npm - key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} + cache: 'npm' - name: Cache validator id: validator-cache |
