Skip to content

Commit 3a627b0

Browse files
committed
1 parent 6cb1bb6 commit 3a627b0

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# - https://docs.github.com/actions/using-workflows/events-that-trigger-workflows#release
1111
# - https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions
1212
# - https://docs.github.com/webhooks-and-events/webhooks/webhook-events-and-payloads#release
13-
# - https://docs.npmjs.com/generating-provenance-statements
13+
# - https://docs.npmjs.com/trusted-publishers
1414
# - https://github.com/actions/checkout
1515
# - https://github.com/actions/setup-node
1616
# - https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#yarn2-configuration
@@ -92,7 +92,6 @@ jobs:
9292
name: Setup .npmrc file
9393
uses: actions/[email protected]
9494
with:
95-
always-auth: true
9695
node-version-file: .nvmrc
9796
registry-url: https://npm.pkg.github.com
9897
scope: ${{ github.repository_owner }}
@@ -131,7 +130,6 @@ jobs:
131130
name: Setup .npmrc file
132131
uses: actions/[email protected]
133132
with:
134-
always-auth: true
135133
node-version-file: .nvmrc
136134
registry-url: https://registry.npmjs.org
137135
scope: ${{ github.repository_owner }}
@@ -140,6 +138,4 @@ jobs:
140138
run: cat $NPM_CONFIG_USERCONFIG
141139
- id: publish
142140
name: Publish package
143-
env:
144-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
145141
run: ${{ needs.preflight.outputs.command }}

0 commit comments

Comments
 (0)