Skip to content

Commit

Permalink
fix: limit workers during testing in ci (#531)
Browse files Browse the repository at this point in the history
Co-authored-by: Hein Jeong <heinje@amazon.com>
  • Loading branch information
hein-j and Hein Jeong authored Jul 19, 2022
1 parent d592246 commit be36527
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"homepage": "https://docs.amplify.aws/",
"scripts": {
"test": "lerna run test --stream",
"test:ci": "lerna run test:ci --stream",
"test:update": "lerna run test:update --stream",
"build": "lerna run build --stream",
"setup-dev": "npm install && lerna bootstrap && lerna run build",
Expand Down
1 change: 1 addition & 0 deletions packages/codegen-ui-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
],
"scripts": {
"test": "jest",
"test:ci": "jest --ci --maxWorkers=30%",
"test:update": "jest --updateSnapshot",
"build": "tsc -p tsconfig.build.json",
"build:watch": "npm run build -- --watch"
Expand Down
1 change: 1 addition & 0 deletions packages/codegen-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
],
"scripts": {
"test": "jest",
"test:ci": "jest --ci --maxWorkers=30%",
"test:update": "jest --updateSnapshot",
"build": "tsc -p tsconfig.build.json",
"build:watch": "npm run build -- --watch"
Expand Down

0 comments on commit be36527

Please sign in to comment.