Skip to content

Commit

Permalink
ci(github): add maxWorkers args
Browse files Browse the repository at this point in the history
  • Loading branch information
chemzqm committed Aug 21, 2021
1 parent b31e645 commit 6c82a20
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
tar xzf nvim-macos.tar.gz
export PATH="${PATH}:node_modules/.bin:$(pwd)/nvim-osx64/bin"
nvim --version
yarn test-build
yarn test-build --maxWorkers=4
- if: matrix.os == 'ubuntu-latest'
name: yarn test on Ubuntu
run: |
Expand All @@ -68,7 +68,7 @@ jobs:
tar xzf nvim-linux64.tar.gz
export PATH="${PATH}:node_modules/.bin:$(pwd)/nvim-linux64/bin"
nvim --version
yarn test-build
yarn test-build --maxWorkers=2
- name: Codecov
uses: codecov/codecov-action@v2.0.2
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"clean": "rimraf lib build",
"lint": "eslint . --ext .ts --quiet",
"build": "node esbuild.js",
"test": "./node_modules/.bin/jest --runInBand --forceExit",
"test-build": "./node_modules/.bin/jest --runInBand --coverage --forceExit",
"test": "./node_modules/.bin/jest --forceExit",
"test-build": "./node_modules/.bin/jest --coverage --forceExit",
"prepare": "node esbuild.js"
},
"repository": {
Expand Down

0 comments on commit 6c82a20

Please sign in to comment.