mirror of
https://github.com/strapi/strapi.git
synced 2025-10-14 01:24:10 +00:00
Run snyk only on non fork repo and run --build on setup
This commit is contained in:
parent
81ed8d0fb2
commit
c41e114b23
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user