worker.fetch failing on node18.x + GitHub actions

Hey 👋

This minimal test using unstable_dev and worker.fetch works locally, but fails in GitHub actions
https://github.com/kysely-org/kysely/tree/master/test/cloudflare-workers

Any ideas?

/home/runner/work/kysely/kysely/test/cloudflare-workers/node_modules/wrangler/wrangler-dist/cli.js:29573
            throw a;
            ^
TypeError: fetch failed
    at fetch (/home/runner/work/kysely/kysely/test/cloudflare-workers/node_modules/undici/index.js:112:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async MessagePort.<anonymous> ([worker eval]:28:22) {
  [cause]: Error: connect ECONNREFUSED ::1:33163
      at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)
}

https://github.com/kysely-org/kysely/actions/runs/8847499673/job/24295439271

node 18.x
wrangler@3.52.0
tsx@4.7.3
hono@4.2.8

it used to work on wrangler@3.1.2
was node18 support dropped?
Was this page helpful?