From e0044eaf2afa65ad4574f32ce6a7fc5ec9c60c9e Mon Sep 17 00:00:00 2001 From: ckoegel Date: Tue, 6 Jan 2026 16:21:46 -0500 Subject: [PATCH] SWI-9214 Update Deploy Workflow --- .github/workflows/deploy.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 148767b..cd40c75 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -7,6 +7,9 @@ jobs: deploy: name: Deploy runs-on: ubuntu-latest + permissions: + contents: read + id-token: write if: ${{ !github.event.release.prerelease && github.event.release.target_commitish == 'main' }} steps: - name: Checkout @@ -18,7 +21,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v6 with: - node-version: "12.x" + node-version: 16 registry-url: "https://registry.npmjs.org" - name: Build and test npm package @@ -38,6 +41,4 @@ jobs: - name: Publish npm package run: | npm version $RELEASE_VERSION --no-git-tag-version - npm publish --access public - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} + npm publish --provenance --access public