0
0
mirror of https://github.com/honojs/hono.git synced 2024-11-24 19:26:56 +01:00

ci: use Deno v2 for a test running for deno (#3509)

* chore: use Deno v2 for a test running for deno

* use denoland/setup-deno@v2
This commit is contained in:
Shotaro Nakamura 2024-10-13 16:04:33 +09:00 committed by GitHub
parent 9986b47253
commit bd9effe34f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -74,9 +74,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
- uses: denoland/setup-deno@v2
with:
deno-version: v1.x
deno-version: v2.x
- run: env NAME=Deno deno test --coverage=coverage/raw/deno-runtime --allow-read --allow-env --allow-write --allow-net -c runtime-tests/deno/deno.json runtime-tests/deno
- run: deno test -c runtime-tests/deno-jsx/deno.precompile.json --coverage=coverage/raw/deno-precompile-jsx runtime-tests/deno-jsx
- run: deno test -c runtime-tests/deno-jsx/deno.react-jsx.json --coverage=coverage/raw/deno-react-jsx runtime-tests/deno-jsx