Skip to content

Commit 2f19505

Browse files
committed
ci: fix npm publish job
1 parent e451e3f commit 2f19505

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release-please.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
run: npm ci
3535
- name: Publish to NPM registry
3636
if: ${{ steps.release.outputs.release_created }}
37-
run: npm publish
37+
run: |
38+
npm set "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}"
39+
npm publish
3840
shell: sh
39-
env:
40-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)