mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-28 03:39:38 +02:00
cypress cache folder fix
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user