From 2980a37463fd6bcf9432c15ad833ac09556b7d19 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Mon, 18 Dec 2023 19:41:14 -0500 Subject: [PATCH] try new way of setting token --- .github/workflows/actions/publish-npm/action.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/actions/publish-npm/action.yml b/.github/workflows/actions/publish-npm/action.yml index 3476e261d8..cfa69f930e 100644 --- a/.github/workflows/actions/publish-npm/action.yml +++ b/.github/workflows/actions/publish-npm/action.yml @@ -47,8 +47,7 @@ runs: shell: bash working-directory: ${{ inputs.working-directory }} - name: Prepare NPM Token - run: echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc - working-directory: ${{ inputs.working-directory }} + run: pnpm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN} shell: bash env: NPM_TOKEN: ${{ inputs.token }}