Skip to content

Commit 7f515b7

Browse files
committed
only trigger npm publish on release creation event
1 parent 654b83e commit 7f515b7

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

ci/npm-publish.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
name: Node.js Package
22

33
on:
4-
pull_request:
5-
branches:
6-
- master
7-
push:
8-
branches:
9-
- master
4+
release:
5+
types: [created]
106

117
jobs:
128
build:

0 commit comments

Comments
 (0)