From dbfeb13c478ac52bf452f8a05f8a1a4ccc8e9bd8 Mon Sep 17 00:00:00 2001 From: Shibo Lyu Date: Sat, 28 Dec 2024 20:43:34 +0800 Subject: [PATCH] ci: bump runtimes in actions --- .github/workflows/deno.yml | 4 ++-- .github/workflows/publish_npm.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deno.yml b/.github/workflows/deno.yml index 870e083..f0998d8 100644 --- a/.github/workflows/deno.yml +++ b/.github/workflows/deno.yml @@ -26,9 +26,9 @@ jobs: uses: actions/checkout@v4 - name: Setup Deno - uses: denoland/setup-deno@v1.1.4 + uses: denoland/setup-deno@v2 with: - deno-version: v1.x + deno-version: v2.x # Uncomment this step to verify the use of 'deno fmt' on each commit. - name: Verify formatting diff --git a/.github/workflows/publish_npm.yml b/.github/workflows/publish_npm.yml index 256352e..6d8c23b 100644 --- a/.github/workflows/publish_npm.yml +++ b/.github/workflows/publish_npm.yml @@ -11,13 +11,13 @@ jobs: steps: - uses: actions/checkout@v4 - name: Setup Deno - uses: denoland/setup-deno@v1.1.4 + uses: denoland/setup-deno@v2 with: - deno-version: v1.x + deno-version: v2.x # Setup .npmrc file to publish to npm - uses: actions/setup-node@v4 with: - node-version: "20.x" + node-version: "22.x" registry-url: "https://registry.npmjs.org" - run: deno run -A scripts/build_npm.ts - run: cd npm && npm ci