From 02c2dfd8d4ab6a54cb5f61483d3f7ed310c1b160 Mon Sep 17 00:00:00 2001 From: Philipp Burckhardt Date: Thu, 7 Mar 2024 18:07:57 -0500 Subject: [PATCH] Update publish.yml Signed-off-by: Philipp Burckhardt --- .github/workflows/publish.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 010fb9d..73f751b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -201,11 +201,9 @@ jobs: # Publish package to npm: - name: 'Publish package to npm' - # Pin action to full length commit SHA - uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552 # v3.0.1 - with: - token: ${{ secrets.NPM_TOKEN }} - access: public + run: npm publish --provenance --access public + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} # Discard any uncommitted changes: - name: 'Discard any uncommitted changes'