From 521b7757e6bf2883a621e4d8a6ad2ce264a47aad Mon Sep 17 00:00:00 2001 From: Dhravya Shah Date: Thu, 16 Apr 2026 19:14:56 -0700 Subject: [PATCH] ci: switch to npm trusted publishing (OIDC) --- .github/workflows/release.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e563368..fcc64a9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,8 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - registry-url: "https://registry.npmjs.org" + node-version: '24' + registry-url: 'https://registry.npmjs.org' - name: Setup Bun uses: oven-sh/setup-bun@v2 @@ -52,7 +53,4 @@ jobs: - name: Publish if: steps.version-check.outputs.changed == 'true' - run: npm publish --access public - env: - NPM_CONFIG_PROVENANCE: true - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + run: npm publish --access public --provenance