Skip to content

Commit

Permalink
chore: update workflows config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Sep 17, 2021
1 parent c2f0285 commit 283f477
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- run: npm install
- run: npm install --workspaces
- run: npm run build
- run: npm run doc

build-deploy:
runs-on: ubuntu-20.04
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ jobs:
- run: npm install
- run: npm install --workspaces
- run: npm run build
- run: npm run doc
- run: npm ls @babel/core
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"test": "tsbb test --env=jsdom",
"coverage": "tsbb test --env=jsdom --coverage",
"build": "npm run-script build --workspaces --if-present",
"doc": "npm run-script doc --workspace=website --if-present",
"start": "npm run-script start --workspace=website"
},
"homepage": "https://uiwjs.github.io/react-baidu-map",
Expand Down
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"description": "Baidu Map Components for React.",
"author": "kenny wong <[email protected]>",
"scripts": {
"build": "SKIP_PREFLIGHT_CHECK=true kkt build && npm run map",
"doc": "SKIP_PREFLIGHT_CHECK=true kkt build && npm run map",
"start": "SKIP_PREFLIGHT_CHECK=true kkt start",
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
"map": "source-map-explorer build/static/js/*.js --html build/website-result.html"
Expand Down

0 comments on commit 283f477

Please sign in to comment.