mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-17 22:39:56 +02:00
Update build.yml
This commit is contained in:
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@@ -28,11 +28,10 @@ jobs:
|
||||
- name: Install Packages
|
||||
run: |
|
||||
yarn config set cache-folder $GITHUB_WORKSPACE/.cache/yarn
|
||||
export CYPRESS_CACHE_FOLDER=$GITHUB_WORKSPACE/.cache/Cypress
|
||||
yarn install --frozen-lockfile
|
||||
npx cypress cache path
|
||||
npx cypress cache list
|
||||
env:
|
||||
CYPRESS_CACHE_FOLDER: $GITHUB_WORKSPACE/.cache/Cypress
|
||||
|
||||
- name: Run Build
|
||||
run: yarn build
|
||||
@@ -55,12 +54,12 @@ jobs:
|
||||
|
||||
- name: Run E2E Tests
|
||||
run: |
|
||||
export CYPRESS_CACHE_FOLDER=$GITHUB_WORKSPACE/.cache/Cypress
|
||||
npx cypress cache path
|
||||
npx cypress cache list
|
||||
yarn e2e
|
||||
env:
|
||||
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
|
||||
CYPRESS_CACHE_FOLDER: $GITHUB_WORKSPACE/.cache/Cypress
|
||||
|
||||
- name: Post Upload Test Results
|
||||
uses: coverallsapp/github-action@master
|
||||
|
Reference in New Issue
Block a user