Skip to content

Commit

Permalink
ci: use separate script for windows ci
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed May 7, 2020
1 parent 0c3c546 commit 0345c36
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
- run: rm -rf ~/project/node_modules/esbuild/.install
- *install_deps
- *save_cache
- run: yarn build
- run: yarn test

workflows:
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ test_script:
- git --version
- node --version
- yarn --version
- yarn test
- yarn windows-ci

cache:
- node_modules -> yarn.lock
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"dev-node": "tsc -w --p src/node",
"build": "rm -rf dist && tsc -p src/client && tsc -p src/node",
"lint": "prettier --write --parser typescript \"src/**/*.ts\"",
"test": "yarn build && jest --runInBand",
"test": "jest --runInBand",
"windows-ci": "yarn buiild && jest --runInBand --forceExit",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"prepublishOnly": "yarn build && yarn changelog",
"postpublish": "git add CHANGELOG.md && git commit -m 'chore: changelog [ci skip]' && git push"
Expand Down

0 comments on commit 0345c36

Please sign in to comment.