Skip to content

Commit ff82486

Browse files
committed
ci(npm-publish.yml): update triggers to run npm publish workflow
run workflow on merge or push to master branch
1 parent 1458f3f commit ff82486

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/npm-publish.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@
44
name: Node.js Package
55

66
on:
7-
release:
8-
types: [created]
7+
# Triggers the workflow on push or pull request events but only for the master branch
8+
push:
9+
branches: [ master ]
10+
pull_request:
11+
branches: [ master ]
12+
# release:
13+
# types: [created]
914

1015
jobs:
1116
build:

0 commit comments

Comments
 (0)