Skip to content

Commit

Permalink
OK-652 polut kohilleen
Browse files Browse the repository at this point in the history
  • Loading branch information
marjakari committed Nov 12, 2024
1 parent c137ac5 commit da02ffe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/actions/setup-next-env/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit da02ffe

Please sign in to comment.