From f4d00621f86536d70b61168940cc347fb738c3a1 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Fri, 1 Nov 2024 12:07:18 +0100 Subject: [PATCH] ci: deno v2 compat --- .github/workflows/ci.yml | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index de291f46..6bb341fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,10 +34,10 @@ jobs: if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == 22 }} with: bun-version: latest - - uses: denoland/setup-deno@v1 + - uses: denoland/setup-deno@v2 if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == 22 }} with: - deno-version: v1.x + deno-version: v2.x - run: pnpm install - run: pnpm lint if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == 22 }} diff --git a/package.json b/package.json index 536989c5..921f9a99 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "test:bun": "bun --bun test test/bun", "test:native": "pnpm test:native:bun && pnpm test:native:node && pnpm test:native:deno", "test:native:bun": "bun --bun test test/native/bun.test.ts", - "test:native:deno": "deno test -A test/native/deno.test.ts", + "test:native:deno": "deno test -A --no-check test/native/deno.test.ts", "test:native:node": "node --test --experimental-strip-types test/native/node.test.ts", "test:node-register": "JITI_JSX=1 node --test test/node-register.test.mjs", "test:types": "tsc --noEmit"