From 1fe04587ea1356f8c60e3c35a4f4b9f65ae1d5fd Mon Sep 17 00:00:00 2001 From: Maksim Ivanov Date: Fri, 26 Jan 2024 11:58:13 +0300 Subject: [PATCH] ci: fail fast (#6558) --- .github/workflows/test.yml | 2 +- package.json | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ca2f94b46390..57b5563451d6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: - uses: taiga-family/ci/actions/setup/checkout@v1.50.8 - uses: taiga-family/ci/actions/setup/variables@v1.50.8 - uses: taiga-family/ci/actions/setup/node@v1.50.8 - - run: npx nx run-many -t test --output-style=stream + - run: npx nx run-many -t test --output-style=stream --nxBail - run: tree -L 2 ./coverage -P 'lcov.info' - uses: codecov/codecov-action@v3.1.5 with: diff --git a/package.json b/package.json index 032e3729387a..23e97880dccf 100644 --- a/package.json +++ b/package.json @@ -51,10 +51,8 @@ "release:minor": "ts-node ./scripts/release.ts --release-as minor", "release:major": "ts-node ./scripts/release.ts --release-as major", "*** CI ***": "", - "affected:test:libs": "nx affected --target test --exclude=demo --output-style=stream", - "affected:build:libs": "nx affected --target build --exclude=demo --output-style=stream", - "run-many:build:libs": "nx run-many --target build --all --exclude=demo --output-style=stream", - "run-many:publish:libs": "nx run-many --target publish --all --output-style=stream" + "run-many:build:libs": "nx run-many --target build --all --exclude=demo --output-style=stream --nxBail", + "run-many:publish:libs": "nx run-many --target publish --all --output-style=stream --nxBail" }, "commitlint": { "extends": [