diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 9c421bbf2..9280e5c47 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -21,6 +21,8 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'npm' + cache-dependency-path: | + **/package-lock.json # https://nextjs.org/docs/pages/building-your-application/deploying/ci-build-caching#github-actions - uses: actions/cache@v4 @@ -33,6 +35,5 @@ jobs: restore-keys: | ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}- - - run: npm ci - run: npm run build