Skip to content

Commit 4c5c11c

Browse files
chore: resolve node e2e errors (#2143)
Co-authored-by: ScriptedAlchemy <[email protected]>
1 parent ab6c26c commit 4c5c11c

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

.github/workflows/build-and-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,4 @@ jobs:
6969
run: pnpm app:next:build
7070

7171
- name: E2E Node Federation
72-
run: npx nx run node-host-e2e:e2e
72+
run: npx nx run-many --target=serve --projects=node-local-remote,node-remote --parallel=3 & echo "done" && sleep 10 && npx nx run-many --target=serve --projects=node-host & echo "done" && npx nx run node-host-e2e:test:e2e

apps/node-host-e2e/project.json

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,7 @@
1717
"parallel": true,
1818
"commands": [
1919
{
20-
"command": "nx run node-remote:serve",
21-
"forwardAllArgs": false
22-
},
23-
{
24-
"command": "nx run node-local-remote:serve",
25-
"forwardAllArgs": false
26-
},
27-
{
28-
"command": "nx run node-host:serve",
29-
"forwardAllArgs": false
30-
},
31-
{
32-
"command": "sleep 10 && nx run node-host-e2e:e2e",
20+
"command": "sleep 10 && nx run node-host-e2e:e2e && lsof -ti tcp:3002,3003,3333 | xargs kill",
3321
"forwardAllArgs": true
3422
}
3523
]

0 commit comments

Comments
 (0)