mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 14:59:53 +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
|
- name: Install Packages
|
||||||
run: |
|
run: |
|
||||||
yarn config set cache-folder $GITHUB_WORKSPACE/.cache/yarn
|
yarn config set cache-folder $GITHUB_WORKSPACE/.cache/yarn
|
||||||
|
export CYPRESS_CACHE_FOLDER=$GITHUB_WORKSPACE/.cache/Cypress
|
||||||
yarn install --frozen-lockfile
|
yarn install --frozen-lockfile
|
||||||
npx cypress cache path
|
npx cypress cache path
|
||||||
npx cypress cache list
|
npx cypress cache list
|
||||||
env:
|
|
||||||
CYPRESS_CACHE_FOLDER: $GITHUB_WORKSPACE/.cache/Cypress
|
|
||||||
|
|
||||||
- name: Run Build
|
- name: Run Build
|
||||||
run: yarn build
|
run: yarn build
|
||||||
@@ -55,12 +54,12 @@ jobs:
|
|||||||
|
|
||||||
- name: Run E2E Tests
|
- name: Run E2E Tests
|
||||||
run: |
|
run: |
|
||||||
|
export CYPRESS_CACHE_FOLDER=$GITHUB_WORKSPACE/.cache/Cypress
|
||||||
npx cypress cache path
|
npx cypress cache path
|
||||||
npx cypress cache list
|
npx cypress cache list
|
||||||
yarn e2e
|
yarn e2e
|
||||||
env:
|
env:
|
||||||
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
|
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
|
||||||
CYPRESS_CACHE_FOLDER: $GITHUB_WORKSPACE/.cache/Cypress
|
|
||||||
|
|
||||||
- name: Post Upload Test Results
|
- name: Post Upload Test Results
|
||||||
uses: coverallsapp/github-action@master
|
uses: coverallsapp/github-action@master
|
||||||
|
Reference in New Issue
Block a user