From a4e54bed8d534086af87bff8b48c7c9a47ac4141 Mon Sep 17 00:00:00 2001 From: Edgard Lorraine Messias Date: Wed, 1 Feb 2023 13:35:25 -0300 Subject: [PATCH] fix: Fixed publish script (fix #2330) (#2358) --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 916b8ed97..09324e59e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,6 +18,8 @@ jobs: with: node-version: 'lts/*' registry-url: 'https://registry.npmjs.org' + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Install Dependencies run: yarn install @@ -33,4 +35,5 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} run: npx semantic-release