mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-23 07:59:39 +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:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [10.x, 12.x]
|
node-version: [10.x, 12.x]
|
||||||
#env:
|
|
||||||
# CYPRESS_CACHE_FOLDER: ~/work/${{ github.repository }}/.cache/Cypress
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
@@ -30,11 +28,10 @@ jobs:
|
|||||||
- name: Install Packages
|
- name: Install Packages
|
||||||
run: |
|
run: |
|
||||||
yarn config set cache-folder $GITHUB_WORKSPACE/.cache/yarn
|
yarn config set cache-folder $GITHUB_WORKSPACE/.cache/yarn
|
||||||
yarn install --verbose --frozen-lockfile
|
yarn install --frozen-lockfile
|
||||||
ls -a $GITHUB_WORKSPACE/.cache/Cypress
|
ls -a $GITHUB_WORKSPACE/.cache/Cypress
|
||||||
exit 1
|
|
||||||
env:
|
env:
|
||||||
CYPRESS_CACHE_FOLDER: .cache/Cypress
|
CYPRESS_CACHE_FOLDER: ../../.cache/Cypress
|
||||||
|
|
||||||
- name: Run Build
|
- name: Run Build
|
||||||
run: yarn build
|
run: yarn build
|
||||||
@@ -51,3 +48,4 @@ jobs:
|
|||||||
run: yarn e2e
|
run: yarn e2e
|
||||||
env:
|
env:
|
||||||
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
|
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
|
||||||
|
CYPRESS_CACHE_FOLDER: .cache/Cypress
|
||||||
|
Reference in New Issue
Block a user