diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index c88ba46..b93450e 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -38,7 +38,6 @@ jobs: uses: actions/checkout@v3 - name: Detect package manager id: detect-package-manager - working-directory: ./frontend run: | if [ -f "${{ github.workspace }}/frontend/yarn.lock" ]; then echo "manager=yarn" >> $GITHUB_OUTPUT @@ -59,6 +58,7 @@ jobs: with: node-version: "16" cache: ${{ steps.detect-package-manager.outputs.manager }} + cache-dependency-path: "./frontend" - name: Setup Pages uses: actions/configure-pages@v3 with: