From 79b356a31311a0197ffc9994e7dbb2280ce867ea Mon Sep 17 00:00:00 2001 From: achingbrain Date: Thu, 20 Jan 2022 16:52:30 +0000 Subject: [PATCH] chore: update var name --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5b99fcad..478f3313 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -117,10 +117,10 @@ jobs: - if: ${{ steps.release.outputs.release_created }} run: npm publish env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - if: ${{ !steps.release.outputs.release_created }} run: | npm version `node -p -e "require('./package.json').version"`-`git rev-parse --short HEAD` --no-git-tag-version npm publish --tag next env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }}