Run snyk only on non fork repo and run --build on setup

This commit is contained in:
Alexandre Bodin 2019-03-21 08:59:24 +01:00
parent 81ed8d0fb2
commit c41e114b23

View File

@ -32,10 +32,14 @@ install:
jobs:
include:
- stage: test
name: 'Lint / Snyk / Unit Tests '
name: Snyk
script: npm run -s test:snyk
if: fork = false
- stage: test
name: 'Lint / Unit Tests '
script:
- npm run -s lint
- npm run -s test:snyk
- npm run -s test:unit
- <<: *e2e_tests