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

Disk cache getRemoteJSON (#35872)

This commit is contained in:
Peter Bengtsson
2023-03-30 10:47:55 -04:00
committed by GitHub
parent 30141addd5
commit 44db141ee3
5 changed files with 215 additions and 23 deletions

View File

@@ -153,6 +153,15 @@ jobs:
- name: Run build script
run: npm run build
- name: Disk cache used by getRemoteJSON function in middleware
uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7
with:
path: .remotejson-cache
# Very liberal cache key. Note, for this to become populated
# for other branches, you have to manually run this workflow
# at least once using the "Run workflow" button.
key: ${{ runner.os }}-remotejson
- name: Index fixtures into the local Elasticsearch
# For the sake of saving time, only run this step if the group
# is one that will run tests against an Elasticsearch on localhost.