mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-21 16:29:40 +02:00
adjusts
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -20,19 +20,19 @@ jobs:
|
|||||||
|
|
||||||
- name: Install Yarn
|
- name: Install Yarn
|
||||||
run: npm i yarn --global
|
run: npm i yarn --global
|
||||||
|
|
||||||
- name: Cache Node Modules
|
- name: Cache Node Modules
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: .cache
|
path: .cache
|
||||||
key: ${{ runner.OS }}-build-${{ hashFiles('**/yarn.lock') }}
|
key: ${{ runner.OS }}-build-${{ hashFiles('**/yarn.lock') }}
|
||||||
|
|
||||||
- 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 --frozen-lockfile
|
yarn install --frozen-lockfile
|
||||||
ls -a $GITHUB_WORKSPACE/src
|
ls -a $GITHUB_WORKSPACE
|
||||||
|
|
||||||
- name: Run Build
|
- name: Run Build
|
||||||
run: yarn build
|
run: yarn build
|
||||||
|
|
||||||
|
10
package.json
10
package.json
@@ -24,7 +24,7 @@
|
|||||||
"e2e": "start-server-and-test dev http://localhost:9000/ cypress",
|
"e2e": "start-server-and-test dev http://localhost:9000/ cypress",
|
||||||
"e2e-upd": "yarn lint && jest e2e -u --config e2e/jest.config.js",
|
"e2e-upd": "yarn lint && jest e2e -u --config e2e/jest.config.js",
|
||||||
"dev": "webpack-dev-server --config webpack.config.e2e.js",
|
"dev": "webpack-dev-server --config webpack.config.e2e.js",
|
||||||
"test": "yarn lint && jest --testPathPattern src/.*",
|
"test": "yarn lint && jest src/.*",
|
||||||
"test:watch": "jest --watch src",
|
"test:watch": "jest --watch src",
|
||||||
"prepublishOnly": "yarn build && yarn release && yarn test",
|
"prepublishOnly": "yarn build && yarn release && yarn test",
|
||||||
"prepush": "yarn test"
|
"prepush": "yarn test"
|
||||||
@@ -77,10 +77,10 @@
|
|||||||
"cypress": "3.4.0",
|
"cypress": "3.4.0",
|
||||||
"husky": "^1.2.1",
|
"husky": "^1.2.1",
|
||||||
"identity-obj-proxy": "^3.0.0",
|
"identity-obj-proxy": "^3.0.0",
|
||||||
"jest": "^23.6.0",
|
"jest": "^24.9.0",
|
||||||
"jest-environment-puppeteer": "^4.2.0",
|
"jest-environment-puppeteer": "^4.3.0",
|
||||||
"jest-image-snapshot": "^2.8.2",
|
"jest-image-snapshot": "^2.11.1",
|
||||||
"jest-puppeteer": "^4.2.0",
|
"jest-puppeteer": "^4.3.0",
|
||||||
"jison": "^0.4.18",
|
"jison": "^0.4.18",
|
||||||
"moment": "^2.23.0",
|
"moment": "^2.23.0",
|
||||||
"node-sass": "^4.12.0",
|
"node-sass": "^4.12.0",
|
||||||
|
Reference in New Issue
Block a user