Skip to content

Commit 1ebc8cf

Browse files
committed
only run npm publish job on master branch
1 parent 23e588e commit 1ebc8cf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.circleci/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1+
# https://circleci.com/docs/2.0/configuration-reference/
12
version: 2.1
23
orbs:
34
cypress: cypress-io/[email protected] # used to run e2e tests
45
node: circleci/[email protected] # used to publish new NPM version
56

67
jobs:
78
publish:
9+
branches:
10+
only:
11+
- master
812
executor:
913
name: node/default
1014
tag: '12'

0 commit comments

Comments
 (0)