Skip to content

Commit 2362c8d

Browse files
committed
ci: Use npm trusted publishing instead of NPM_TOKEN
Remove NODE_AUTH_TOKEN; OIDC identity from id-token: write is sufficient with trusted publishing configured on npmjs.
1 parent 647e125 commit 2362c8d

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

.github/workflows/gnd-binary-build.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,6 @@ jobs:
263263
- name: Publish
264264
run: npm publish --provenance --access public ${{ inputs.dry_run && '--dry-run' || '' }}
265265
working-directory: pkg
266-
env:
267-
NODE_AUTH_TOKEN: ${{ secrets.GRAPHPROTOCOL_NPM_TOKEN }}
268266

269267
publish-npm-wrapper:
270268
name: Publish @graphprotocol/gnd wrapper
@@ -320,6 +318,4 @@ jobs:
320318
321319
- name: Publish
322320
run: npm publish --provenance --access public ${{ inputs.dry_run && '--dry-run' || '' }}
323-
working-directory: pkg
324-
env:
325-
NODE_AUTH_TOKEN: ${{ secrets.GRAPHPROTOCOL_NPM_TOKEN }}
321+
working-directory: pkg

0 commit comments

Comments
 (0)