From ccc3151110e5cd21b047adeceb59a356be6b5b15 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 30 Sep 2022 10:10:46 +0100 Subject: [PATCH] Update release-npm.yml --- .github/workflows/release-npm.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-npm.yml b/.github/workflows/release-npm.yml index c70408fb041..84d88ea5e5e 100644 --- a/.github/workflows/release-npm.yml +++ b/.github/workflows/release-npm.yml @@ -36,5 +36,6 @@ jobs: package=$(cat package.json | jq -er .name) npm dist-tag add "$package@$release" latest env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + # JS-DevTools/npm-publish overrides `NODE_AUTH_TOKEN` with `INPUT_TOKEN` in .npmrc + INPUT_TOKEN: ${{ secrets.NPM_TOKEN }} release: ${{ steps.npm-publish.outputs.version }}