diff --git a/.github/actions/setup-next-env/action.yml b/.github/actions/setup-next-env/action.yml index 632a26e8..a2d3cdb0 100644 --- a/.github/actions/setup-next-env/action.yml +++ b/.github/actions/setup-next-env/action.yml @@ -11,15 +11,15 @@ runs: - uses: actions/cache@v4 id: node_modules-cache with: - path: ${{ github.workspace }}/node_modules - key: ${{ runner.os }}-modules-${{ hashFiles('package-lock.json') }} + path: ${{ github.workspace }}/viestinvalitys-raportointi/node_modules + key: ${{ runner.os }}-modules-${{ hashFiles('viestinvalitys-raportointi/package-lock.json') }} - name: Cache Next.js uses: actions/cache@v4 with: path: ${{ github.workspace }}/.next/cache - key: ${{ runner.os }}-nextjs-${{ hashFiles('package-lock.json') }}-${{ hashFiles('next.config.*', './src/**/*.ts', './src/**/*.tsx') }} + key: ${{ runner.os }}-nextjs-${{ hashFiles('viestinvalitys-raportointi/package-lock.json') }}-${{ hashFiles('viestinvalitys-raportointi/next.config.*', './viestinvalitys-raportointi/src/**/*.ts', './viestinvalitys-raportointi/src/**/*.tsx') }} restore-keys: | - ${{ runner.os }}-nextjs-${{ hashFiles('package-lock.json') }}- + ${{ runner.os }}-nextjs-${{ hashFiles('viestinvalitys-raportointi/package-lock.json') }}- - name: Install npm dependencies if: steps.node_modules-cache.outputs.cache-hit != 'true' shell: bash