Skip to content

Commit 36d3182

Browse files
committed
publish on create release
1 parent 1d0dc11 commit 36d3182

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/publish_to_npm.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
name: Publish to npm
22

33
on:
4-
pull_request:
5-
branches:
6-
- master
7-
types:
8-
- closed
4+
release:
5+
types: [created]
96

107
jobs:
118
publish:
12-
if: github.event.pull_request.merged == true
139
name: Publish to npm
1410
runs-on: ubuntu-latest
1511

0 commit comments

Comments
 (0)