Skip to content

Commit 4473cca

Browse files
committed
fix ci conditional
1 parent aab74bd commit 4473cca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
set -e
2-
if [ -z "$CI_PULL_REQUEST" ] || [ "$CIRCLE_BRANCH" == "master" ]; then
2+
if [[ -z $CI_PULL_REQUEST ]] && [[ $CIRCLE_BRANCH = master ]]; then
33
npm run lint
44
npm run cover
55
cat ./coverage/lcov.info | ./node_modules/.bin/codecov

0 commit comments

Comments
 (0)