diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index a86643e4..db2e29bd 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -22,19 +22,6 @@ jobs: with: node-version: 20 - - name: Get npm cache directory path - id: npm-cache-dir-path - run: echo "::set-output name=dir::$(npm config get cache)" - - - name: Cache node_modules - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 - id: npm-cache - with: - path: ${{ steps.npm-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-npm- - - name: Install dependencies run: npm ci --no-audit diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index a315abbf..dc69054b 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -22,19 +22,6 @@ jobs: with: node-version: 20 - - name: Get npm cache directory path - id: npm-cache-dir-path - run: echo "::set-output name=dir::$(npm config get cache)" - - - name: Cache node_modules - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3.3.2 - id: npm-cache - with: - path: ${{ steps.npm-cache-dir-path.outputs.dir }} - key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-npm- - - name: Install dependencies run: npm ci --no-audit