From 15a66d9a1645b102fe32d690b911255bd8f8e37f Mon Sep 17 00:00:00 2001 From: Dhruva Reddy <264116857+dhruva-vapi@users.noreply.github.com> Date: Mon, 26 Oct 2026 06:30:22 -0700 Subject: [PATCH] fix: migrate npm publishing to OIDC --- .github/workflows/publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f934f2c..1a80bae 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,6 +7,9 @@ on: jobs: publish: runs-on: ubuntu-latest + permissions: + contents: read + id-token: write steps: - uses: actions/checkout@v4 @@ -14,8 +17,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '18' - cache: 'npm' + node-version: '24' registry-url: 'https://registry.npmjs.org' - name: Validate version @@ -57,5 +59,3 @@ jobs: - name: Publish to npm run: npm publish - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}