cypress cache folder fix

This commit is contained in:
Christian Klemm
2019-11-17 22:13:02 +01:00
parent 94d913fbab
commit 33de2bda9e

View File

@@ -8,8 +8,6 @@ jobs:
strategy:
matrix:
node-version: [10.x, 12.x]
#env:
# CYPRESS_CACHE_FOLDER: ~/work/${{ github.repository }}/.cache/Cypress
steps:
- uses: actions/checkout@v1
@@ -30,11 +28,10 @@ jobs:
- name: Install Packages
run: |
yarn config set cache-folder $GITHUB_WORKSPACE/.cache/yarn
yarn install --verbose --frozen-lockfile
yarn install --frozen-lockfile
ls -a $GITHUB_WORKSPACE/.cache/Cypress
exit 1
env:
CYPRESS_CACHE_FOLDER: .cache/Cypress
CYPRESS_CACHE_FOLDER: ../../.cache/Cypress
- name: Run Build
run: yarn build
@@ -51,3 +48,4 @@ jobs:
run: yarn e2e
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
CYPRESS_CACHE_FOLDER: .cache/Cypress