diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 3049eab0..5234d16e 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -32,14 +32,8 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - - - name: Restore dependencies - uses: actions/cache@v3 - with: - path: | - node_modules - */*/node_modules - key: ${{ runner.os }}-node-${{ matrix.node-version}}-${{ hashFiles('**/package.json') }} + cache: 'npm' + cache-dependency-path: '**/package.json' - name: Install dependencies run: npm install