Ryan Djurovich
Explore posts from serversCDCloudflare Developers
•Created by Ryan Djurovich on 4/8/2024 in #workers-help
Vitest type error in Github Actions and eslint
For some reason in both Github Actions and eslint it's failing to load the types, with the above error for both.
I'm using the (newish) Vitest support for testing my Workers.
See
* https://blog.cloudflare.com/workers-vitest-integration
* https://developers.cloudflare.com/workers/testing/vitest-integration/get-started/write-your-first-test/#define-vitest-configuration
I'm using Typescript and bun. Would appreciate any suggestions on where to look!
Here's my Github Action config:
2 replies