diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6b565ef3..ab3f30f1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,12 +37,6 @@ jobs: with: node: ${{ env.NODE_VERSION }} - - name: Save build artifacts - uses: actions/cache/save@v4 - with: - path: . - key: ${{ env.CACHE_KEY }} - unit: needs: build # Require build to complete before running tests @@ -59,11 +53,8 @@ jobs: node-version: ${{ env.NODE_VERSION }} cache: npm - - name: Restore build artifacts - uses: actions/cache/restore@v4 - with: - path: . - key: ${{ env.CACHE_KEY }} + - name: Install dependencies + run: npm ci --include=dev - name: Run tests run: npm run test