From 51ed1a44e7ebf0048ba42d1afe7ec5b4630d4e3d Mon Sep 17 00:00:00 2001 From: A Coolman <153610820+ACoolmanTelicent@users.noreply.github.com> Date: Wed, 20 Mar 2024 13:33:20 +0000 Subject: [PATCH] fix(publish-release-candidate.yml): npm token (#35) Signed-off-by: A Coolman <153610820+ACoolmanTelicent@users.noreply.github.com> --- .github/workflows/publish-release-candidate.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-release-candidate.yml b/.github/workflows/publish-release-candidate.yml index 23484ba..705650c 100644 --- a/.github/workflows/publish-release-candidate.yml +++ b/.github/workflows/publish-release-candidate.yml @@ -28,7 +28,8 @@ jobs: node-version: 20 registry-url: 'https://registry.npmjs.org' scope: 'telicent-oss' - env: ${{ secrets.NPM_REGISTRY_TOKEN }} + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_REGISTRY_TOKEN }} - name: Get node version id: node run: | @@ -46,6 +47,5 @@ jobs: - name: Install dependencies run: yarn install --frozen-lockfile - - run: yarn build - run: npm publish --tag ${{ steps.tag-name.outputs.tag }} --access public --provenance