try new way of setting token

This commit is contained in:
Liam DeBeasi
2023-12-18 19:41:14 -05:00
parent 129c424531
commit 2980a37463

View File

@@ -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 }}