diff options
Diffstat (limited to '.github/workflows/test.yml')
-rw-r--r-- | .github/workflows/test.yml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6edf3bf8c..f0bd3ba37 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml | |||
@@ -66,12 +66,22 @@ jobs: | |||
66 | with: | 66 | with: |
67 | path: | | 67 | path: | |
68 | **/node_modules | 68 | **/node_modules |
69 | ~/fixtures | ||
70 | key: ${{ runner.OS }}-node-${{ hashFiles('**/yarn.lock') }} | 69 | key: ${{ runner.OS }}-node-${{ hashFiles('**/yarn.lock') }} |
71 | restore-keys: | | 70 | restore-keys: | |
72 | ${{ runner.OS }}-node- | 71 | ${{ runner.OS }}-node- |
73 | ${{ runner.OS }}- | 72 | ${{ runner.OS }}- |
74 | 73 | ||
74 | - name: Cache fixtures | ||
75 | uses: actions/cache@v2 | ||
76 | with: | ||
77 | path: | | ||
78 | fixtures | ||
79 | key: ${{ runner.OS }}-fixtures-${{ matrix.test_suite }}-${{ hashFiles('fixtures/*') }} | ||
80 | restore-keys: | | ||
81 | ${{ runner.OS }}-fixtures-${{ matrix.test_suite }}- | ||
82 | ${{ runner.OS }}-fixtures- | ||
83 | ${{ runner.OS }}- | ||
84 | |||
75 | - name: Install dependencies | 85 | - name: Install dependencies |
76 | run: yarn install --frozen-lockfile | 86 | run: yarn install --frozen-lockfile |
77 | 87 | ||