Browser test in enja only and cache redirects cache en jajson file (#23502)
* cache the .next/cache directory for faster builds * browser test in en,ja only and cache .redirects-cache_en_ja.json file * correction
This commit is contained in:
6
.github/workflows/browser-test.yml
vendored
6
.github/workflows/browser-test.yml
vendored
@@ -55,5 +55,11 @@ jobs:
|
||||
path: .next/cache
|
||||
key: ${{ runner.os }}-nextjs-${{ hashFiles('package*.json') }}-${{ hashFiles('.github/workflows/browser-test.yml') }}
|
||||
|
||||
- name: Cache lib/redirects/.redirects-cache_en_ja.json
|
||||
uses: actions/cache@c64c572235d810460d0d6876e9c705ad5002b353
|
||||
with:
|
||||
path: lib/redirects/.redirects-cache_en_ja.json
|
||||
key: ${{ runner.os }}-redirects-cache-${{ hashFiles('.github/workflows/browser-test.yml') }}
|
||||
|
||||
- name: Run browser-test
|
||||
run: npm run browser-test
|
||||
|
||||
Reference in New Issue
Block a user