mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-04 22:59:50 +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:
|
||||
matrix:
|
||||
node-version: [10.x, 12.x]
|
||||
env:
|
||||
CYPRESS_CACHE_FOLDER: $GITHUB_WORKSPACE/.cache/cypress
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Setup Node.js ${{ matrix.node-version }}
|
||||
@@ -29,10 +31,8 @@ jobs:
|
||||
${{ runner.OS }}-
|
||||
|
||||
- name: Install Packages
|
||||
run: rm -rf $GITHUB_WORKSPACE/.cache && yarn install --frozen-lockfile --force
|
||||
env:
|
||||
CYPRESS_CACHE_FOLDER: $GITHUB_WORKSPACE/.cache/cypress
|
||||
|
||||
run: yarn install --frozen-lockfile
|
||||
|
||||
- name: Run Build
|
||||
run: yarn build
|
||||
|
||||
|
Reference in New Issue
Block a user