From 47a8ac59bf970cda9555207311922750cfc3f5fd Mon Sep 17 00:00:00 2001 From: David Sherret Date: Sun, 12 Apr 2026 14:22:37 -0400 Subject: [PATCH] fix: npm trusted publishing --- .github/workflows/ci.yml | 4 ++-- .github/workflows/publish.yml | 8 +++----- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b0edcc01..153a72956 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - uses: denoland/setup-deno@v2 with: cache: true @@ -36,7 +36,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - uses: denoland/setup-deno@v2 with: cache: true diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3a147b203..e5c9069c0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -12,13 +12,13 @@ jobs: id-token: write steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - uses: denoland/setup-deno@v2 with: deno-version: canary - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: - node-version: "22.x" + node-version: "24.x" registry-url: "https://registry.npmjs.org" - run: deno install - name: Build JSR @@ -28,8 +28,6 @@ jobs: - name: Build npm run: deno task build - name: Publish npm - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} shell: bash run: | set -euo pipefail