fix(ci): don't run Percy snapshots for CI cron tasks

This commit is contained in:
Łukasz Mierzwa
2020-01-07 16:31:59 +00:00
parent 85b41c85a4
commit 04a2cc3f97

View File

@@ -126,7 +126,7 @@ jobs:
- stage: Snapshots
name: Percy UI snapshots
if: (repo = prymitive/karma AND type != pull_request) OR (fork = true AND type = pull_request)
if: (repo = prymitive/karma AND type != pull_request AND type != cron) OR (fork = true AND type = pull_request)
<<: *DEFAULTS_JS
env:
- NODE_ENV=test