From f4c40e0a653695d7ad348a91efa6258ac965b7a6 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Thu, 30 Sep 2021 00:35:26 -0400 Subject: [PATCH] use setup-node to cache node modules for workflow --- .github/workflows/static.yml | 8 +------- 1 file changed, 1 insertion(+), 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