Skip to content

Commit 3fec548

Browse files
committed
ci: update workflows to use Node 20.x instead of 22.x
Node 22.17.0 has a critical bug with ES Module loading in worker threads that causes 'Cannot read properties of undefined (reading getStatus)' errors. This affects run-workers command when using ES modules. Node 20.x LTS does not have this issue and is recommended for production use. Changed both unit-tests and runner-tests jobs in test.yml workflow.
1 parent d6a4c02 commit 3fec548

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [22.x]
19+
node-version: [20.x]
2020

2121
steps:
2222
- uses: actions/checkout@v5
@@ -47,7 +47,7 @@ jobs:
4747

4848
strategy:
4949
matrix:
50-
node-version: [22.x]
50+
node-version: [20.x]
5151

5252
steps:
5353
- uses: actions/checkout@v5

0 commit comments

Comments
 (0)