Skip to content
This repository was archived by the owner on Jan 8, 2022. It is now read-only.

Commit e6b1d80

Browse files
committed
ci: remove unneeded if check
1 parent c7030b6 commit e6b1d80

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Publish
2-
on: [release]
2+
on:
3+
release:
4+
type: [published]
35
jobs:
46
npm:
57
name: npm
@@ -27,7 +29,6 @@ jobs:
2729
run: npm run build
2830

2931
- name: Publish
30-
if: github.event_name == 'release' && github.event.release.draft == 'false' && github.event.release.prerelease == 'false'
3132
run: npm publish --access public
3233
env:
3334
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}

0 commit comments

Comments
 (0)