From 68ab1f1436cf6d1f3b743ad7fd0f0971b7945769 Mon Sep 17 00:00:00 2001 From: Mike Cousins Date: Mon, 29 May 2023 17:53:44 -0400 Subject: [PATCH] Upgrade JS-DevTools/npm-publish to v2 - Upgrade JS-DevTools/npm-publish to v2.1.0 - Remove workaround for bug JS-DevTools/npm-publish#15 --- .github/workflows/release-npm.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-npm.yml b/.github/workflows/release-npm.yml index daa9cb589bc..517b41646b5 100644 --- a/.github/workflows/release-npm.yml +++ b/.github/workflows/release-npm.yml @@ -24,7 +24,7 @@ jobs: - name: 🚀 Publish to npm id: npm-publish - uses: JS-DevTools/npm-publish@0f451a94170d1699fd50710966d48fb26194d939 # v1 + uses: JS-DevTools/npm-publish@541aa6b21b4a1e9990c95a92c21adc16b35e9551 # v2.1.0 with: token: ${{ secrets.NPM_TOKEN }} access: public @@ -36,6 +36,5 @@ jobs: package=$(cat package.json | jq -er .name) npm dist-tag add "$package@$release" latest env: - # JS-DevTools/npm-publish overrides `NODE_AUTH_TOKEN` with `INPUT_TOKEN` in .npmrc - INPUT_TOKEN: ${{ secrets.NPM_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} release: ${{ steps.npm-publish.outputs.version }}