Skip to content

Commit 19c67c7

Browse files
committed
remove npm token from publish workflow
1 parent 87b890d commit 19c67c7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- name: Setup Node.js
4646
uses: actions/setup-node@v4
4747
with:
48-
node-version-file: '.nvmrc'
48+
node-version-file: ".nvmrc"
4949

5050
- name: Cache dependencies
5151
uses: actions/cache@v4
@@ -107,8 +107,6 @@ jobs:
107107

108108
- name: Publish
109109
if: steps.publish-needed.outputs.published == 'false'
110-
env:
111-
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
112110
run: yarn release:publish --tag ${{ steps.is-prerelease.outputs.prerelease == 'true' && 'next' || 'latest' }} --verbose
113111

114112
- name: Get target branch
@@ -206,4 +204,4 @@ jobs:
206204
DISCORD_WEBHOOK: ${{ secrets.DISCORD_MONITORING_URL }}
207205
uses: Ilshidur/action-discord@master
208206
with:
209-
args: 'The GitHub Action for publishing version ${{ steps.version.outputs.current-version }} (triggered by ${{ github.triggering_actor }}) failed! See run at: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
207+
args: "The GitHub Action for publishing version ${{ steps.version.outputs.current-version }} (triggered by ${{ github.triggering_actor }}) failed! See run at: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"

0 commit comments

Comments
 (0)