1
0
mirror of synced 2026-01-06 06:02:35 -05:00

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:
Peter Bengtsson
2021-12-08 14:47:04 -05:00
committed by GitHub
parent 0dd1f3f356
commit ca39429648
2 changed files with 7 additions and 1 deletions

View File

@@ -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