1
0
mirror of synced 2026-01-06 15:01:04 -05:00

cache the .next/cache directory for faster builds (#23498)

This commit is contained in:
Peter Bengtsson
2021-12-08 14:28:00 -05:00
committed by GitHub
parent 9dbc44100c
commit b4383a39b1

View File

@@ -49,5 +49,11 @@ jobs:
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
run: npm ci --include=optional
- name: Cache nextjs build
uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353
with:
path: .next/cache
key: ${{ runner.os }}-nextjs-${{ hashFiles('package*.json') }}-${{ hashFiles('.github/workflows/browser-test.yml') }}
- name: Run browser-test
run: npm run browser-test