Skip to content

Commit 645f81c

Browse files
committed
fix: npm publishing flow
1 parent 4d02897 commit 645f81c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ jobs:
9393
uses: bahmutov/npm-install@v1
9494
if: ${{ steps.release.outputs.release_created }}
9595
- name: Publish
96+
if: ${{ steps.release.outputs.release_created }}
97+
env:
98+
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
9699
run: |
97100
cd packages/${{ matrix.package }}
98101
npm publish --access=public
99-
env:
100-
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
101-
if: ${{ steps.release.outputs.release_created }}

0 commit comments

Comments
 (0)