mirror of
https://github.com/apotdevin/thunderhub.git
synced 2025-02-20 13:34:30 +01:00
ci: 👷 add nextjs cache
This commit is contained in:
parent
0ec651d7b0
commit
6312cfbd9f
1 changed files with 5 additions and 0 deletions
5
.github/workflows/nodejs.yml
vendored
5
.github/workflows/nodejs.yml
vendored
|
@ -18,6 +18,11 @@ jobs:
|
|||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '14'
|
||||
- name: Use NextJS Cache
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ${{ github.workspace }}/.next/cache
|
||||
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}
|
||||
- name: Install deps
|
||||
run: npm ci
|
||||
- name: Test and build
|
||||
|
|
Loading…
Add table
Reference in a new issue