cache the .next/cache directory for faster builds (#23498)
This commit is contained in:
6
.github/workflows/browser-test.yml
vendored
6
.github/workflows/browser-test.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user