Skip to content

Commit 65206cf

Browse files
serhalpmrstork
andauthored
chore: fix various CI issues (#6124)
* test: specify a type for runWithBuildAndIntrospect * ci: always run all tests The full test suites run in <1m, so this isn't worth the complexity and risk. * chore(deps): bump local packages in testing package `packages/testing` is not configured in `release-please-config.json`, so release PRs don't bump monorepo packages in that package (and vice versa) This led to a really confusing bug here... We'll fix the setup in a later PR. This just fixes the immediate test errors. --------- Co-authored-by: Mateusz Bocian <[email protected]>
1 parent d616cc3 commit 65206cf

File tree

4 files changed

+43
-765
lines changed

4 files changed

+43
-765
lines changed

.github/workflows/workflow.yml

+3-7
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ jobs:
2323
with:
2424
fetch-depth: 0
2525
if: ${{ !steps.release-check.outputs.IS_RELEASE }}
26-
- uses: nrwl/nx-set-shas@v3
27-
if: ${{ !steps.release-check.outputs.IS_RELEASE }}
2826
- uses: actions/setup-node@v4
2927
with:
3028
node-version: 22
@@ -36,7 +34,7 @@ jobs:
3634
run: npx playwright install --with-deps
3735
if: ${{ !steps.release-check.outputs.IS_RELEASE }}
3836
- name: test
39-
run: npx nx affected --target=e2e
37+
run: npx nx run-many --target=e2e
4038
if: ${{ !steps.release-check.outputs.IS_RELEASE }}
4139
- uses: actions/upload-artifact@v4
4240
if: always()
@@ -72,8 +70,6 @@ jobs:
7270
with:
7371
fetch-depth: 0
7472
if: ${{ !steps.release-check.outputs.IS_RELEASE }}
75-
- uses: nrwl/nx-set-shas@v3
76-
if: ${{ !steps.release-check.outputs.IS_RELEASE }}
7773
- name: Node.js ${{ matrix.node-version }}
7874
uses: actions/setup-node@v4
7975
with:
@@ -100,10 +96,10 @@ jobs:
10096
run: npm ci
10197
if: ${{ !steps.release-check.outputs.IS_RELEASE }}
10298
- name: Build
103-
run: npx nx affected --target=build
99+
run: npx nx run-many --target=build
104100
if: ${{ !steps.release-check.outputs.IS_RELEASE }}
105101
- name: Tests
106-
run: npx nx affected --target=test:ci --exclude=@netlify/build --parallel=3
102+
run: npx nx run-many --target=test:ci --exclude=@netlify/build --parallel=3
107103
if: ${{ !steps.release-check.outputs.IS_RELEASE }}
108104

109105
test-build:

0 commit comments

Comments
 (0)