From b6ab34b0da082d69a4a20f32a11a09c2da6f9057 Mon Sep 17 00:00:00 2001 From: Devin Date: Sat, 1 Jul 2023 07:17:30 -0400 Subject: [PATCH] Revert "fix github action npm cache" This reverts commit ccda37ca813d446c636110611fecf2cd0153b36f. --- .github/workflows/deployment.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index be45f402..ab707fa9 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -35,16 +35,13 @@ jobs: with: fetch-depth: 0 # required for gitversion - - name: Restore NPM Lib Cache - id: cache-npm - uses: actions/cache@v3 + - uses: actions/setup-node@v3 with: - # npm cache files are stored in `~/.npm` on Linux/macOS and c:\npm on Windows - path: c:\npm - key: npm-${{ hashFiles('tools/package-lock.json') }} + node-version: 18 + cache: 'npm' + cache-dependency-path: tools/package-lock.json - - if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }} - name: Install Tools NPM Libs + - name: Install Tools NPM Libs working-directory: tools run: npm ci