Skip to content

Commit 10a4e38

Browse files
committed
missing skip logic on npm publish
1 parent 4a978c7 commit 10a4e38

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,5 +102,6 @@ jobs:
102102
run: Set-Content -Path '.npmrc' -Value "${{ secrets.NPMJS_NPMRC }}"
103103

104104
- name: Publish npm package to Npmjs package registry
105+
if: github.event_name == 'release' && github.event.action == 'created'
105106
shell: pwsh
106107
run: npm publish "$((Resolve-Path packages/*.tgz).Path)" --access public --registry https://registry.npmjs.org/

0 commit comments

Comments
 (0)