Skip to content

Commit f5bd35c

Browse files
committed
fix: troubleshoot npm publish error after changing to trusted publishers
1 parent 67f3ddc commit f5bd35c

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

.github/workflows/manual-publish.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,7 @@ jobs:
6767
- name: Publish to npm
6868
id: npm_publish
6969
working-directory: packages/flarelette-jwt-ts
70-
run: |
71-
unset NODE_AUTH_TOKEN
72-
if [ -n "${NPM_CONFIG_USERCONFIG:-}" ] && [ -f "${NPM_CONFIG_USERCONFIG}" ]; then
73-
rm -f "${NPM_CONFIG_USERCONFIG}"
74-
fi
75-
npm publish --provenance --access public --registry=https://registry.npmjs.org
70+
run: npm publish --provenance --access public
7671

7772
- name: Upload npm debug logs (on failure)
7873
if: failure() && steps.npm_publish.outcome == 'failure'

0 commit comments

Comments
 (0)