Skip to content

Commit

Permalink
Update publish.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Germey authored Aug 4, 2024
1 parent beb94d4 commit 9c49120
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,8 @@ jobs:
run: yarn build

- name: Setup .npmrc
run: echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > ~/.npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Debug NPM_TOKEN
run: echo "NPM_TOKEN length: ${#NPM_TOKEN}"
run: |
echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > ~/.npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand All @@ -46,6 +42,6 @@ jobs:
REPO_PAT: ${{ secrets.REPO_PAT }}

- name: Publish
run: yarn release -- --token "$NPM_TOKEN"
run: yarn release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 9c49120

Please sign in to comment.