Skip to content

Commit 550621d

Browse files
anthonytingPooya Paridel
authored andcommitted
ci: fail fast on build failures (#80)
*Issue #, if available:* *Description of changes:* Builds continue when previous builds fail. NPM has an active discussion and PR to fix it npm/cli#8323, but it's not merged yet. By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
1 parent 28035e2 commit 550621d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
"type": "module",
99
"scripts": {
1010
"install-all": "npm install && npm install --workspaces",
11-
"test": "npm run test --workspaces --if-present",
11+
"test": "npm run test -w packages/aws-durable-execution-sdk-js && npm run test -w packages/aws-durable-execution-sdk-js-testing && npm run test -w packages/aws-durable-execution-sdk-js-examples && npm run test -w packages/eslint-plugin-durable-functions",
1212
"test:integration": "act -W .github/workflows/integration-tests.yml --secret-file .secrets --artifact-server-path /tmp/artifacts --container-architecture linux/amd64",
13-
"build": "npm run build -w packages/aws-durable-execution-sdk-js -w packages/aws-durable-execution-sdk-js-testing -w packages/aws-durable-execution-sdk-js-examples -w packages/eslint-plugin-durable-functions",
13+
"build": "npm run build -w packages/aws-durable-execution-sdk-js && npm run build -w packages/aws-durable-execution-sdk-js-testing && npm run build -w packages/aws-durable-execution-sdk-js-examples && npm run build -w packages/eslint-plugin-durable-functions",
1414
"postpublish": "git restore .",
1515
"clean": "rm -rf node_modules && npm run clean --workspaces --if-present",
1616
"prepare": "husky install"

0 commit comments

Comments
 (0)