From 99e58623cae2c63955b7c086c2cdd93a75c36c2d Mon Sep 17 00:00:00 2001 From: Eduardo Wesley Date: Thu, 10 Mar 2022 23:51:01 -0300 Subject: [PATCH] ci: expose NPM_TOKEN to all steps --- .github/workflows/publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index dcceef4..13092f4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -30,7 +30,6 @@ jobs: run: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Update Package.json version run: | @@ -39,3 +38,6 @@ jobs: git add . git commit -m "bump package version" git push + + - env: + NPM_TOKEN: ${{ secrets.NPM_TOKEN }}