panva / jose

JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes
MIT License
5.62k stars 315 forks source link

chore: run CI on canary #713

Closed iuioiua closed 2 months ago

iuioiua commented 2 months ago

This PR enables Deno canary in CI, which currently is the same as enabling Deno 2.0.0-rc.0. This has the obvious benefit of future-proofing this package for Deno 2, but also gives us (Deno) early insight into any issues that users may run into when migrating from Deno 1 to 2.

panva commented 2 months ago

Hi @iuioiua

I would add v2.x stable when it releases. Unstable releases would need continue-on-error so that I am not bombarded by notifications from, well, unstable releases, which kinda defeats the point you're making.

issues that users may run into when migrating from Deno 1 to 2

jose for Deno only uses Web Platform APIs, if there are breakages in those then failing WPTs will present themselves.

If you want early insight into Deno's popular packages and include jose, all you have to do in Deno's CI, or something similar to Node's CITGM, is

iuioiua commented 2 months ago

No stress 🙂