Skip to content
Snippets Groups Projects
Unverified Commit 756b1c10 authored by Ariya Hidayat's avatar Ariya Hidayat Committed by GitHub
Browse files

Percy CI: fix node_modules caching (#19243)

Since Cypress is need, we need to cache ~/.cache/Cypress as well.
parent cfc65993
No related branches found
No related tags found
No related merge requests found
......@@ -105,11 +105,13 @@ jobs:
with:
path: ~/.cache/yarn
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
- name: Get node_modules cache
- name: Get node_modules and Cypress cache
uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/yarn.lock') }}
path: |
node_modules
~/..cache/Cypress
key: ${{ runner.os }}-node-modules-cypress-${{ hashFiles('**/yarn.lock') }}
- run: yarn install --frozen-lockfile --prefer-offline
- uses: actions/download-artifact@v2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment