mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-10 09:39:38 +02:00
fixed cypress cache folder
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -8,6 +8,8 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [10.x, 12.x]
|
node-version: [10.x, 12.x]
|
||||||
|
env:
|
||||||
|
CYPRESS_CACHE_FOLDER: $GITHUB_WORKSPACE/.cache/cypress
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Setup Node.js ${{ matrix.node-version }}
|
- name: Setup Node.js ${{ matrix.node-version }}
|
||||||
@@ -29,10 +31,8 @@ jobs:
|
|||||||
${{ runner.OS }}-
|
${{ runner.OS }}-
|
||||||
|
|
||||||
- name: Install Packages
|
- name: Install Packages
|
||||||
run: rm -rf $GITHUB_WORKSPACE/.cache && yarn install --frozen-lockfile --force
|
run: yarn install --frozen-lockfile
|
||||||
env:
|
|
||||||
CYPRESS_CACHE_FOLDER: $GITHUB_WORKSPACE/.cache/cypress
|
|
||||||
|
|
||||||
- name: Run Build
|
- name: Run Build
|
||||||
run: yarn build
|
run: yarn build
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user