From cff12598bf938c125e3abfe8a4fcd3a2d9496d50 Mon Sep 17 00:00:00 2001 From: Chris Tate Date: Mon, 20 Apr 2026 00:24:06 -0500 Subject: [PATCH] adds trusted publishing (#1273) * adds trusted publishing * rename --- .github/workflows/ci.yml | 4 ++-- .github/workflows/release.yml | 9 ++++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9aa7477..095850d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,7 +54,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 22 + node-version: 24 - name: Install pnpm uses: pnpm/action-setup@v4 @@ -209,7 +209,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: 22 + node-version: 24 - name: Setup Rust toolchain uses: dtolnay/rust-toolchain@stable diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ed60f13..4a29980 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,6 +10,7 @@ concurrency: ${{ github.workflow }}-${{ github.ref }} permissions: contents: write + id-token: write jobs: check-release: @@ -112,7 +113,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '22' + node-version: '24' cache: pnpm - name: Install npm dependencies @@ -200,7 +201,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '22' + node-version: '24' cache: pnpm registry-url: 'https://registry.npmjs.org' @@ -255,9 +256,7 @@ jobs: echo "All 7 platform binaries present and valid" - name: Publish to npm - run: pnpm publish --no-git-checks - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_VERCEL_TOKEN_ELEVATED }} + run: npm publish --provenance github-release: name: Create GitHub Release