mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-08 14:32:50 +00:00
test: make routes job fail if number of files is lower than 100
This commit is contained in:
@@ -50,6 +50,8 @@ routes:
|
||||
script:
|
||||
- npm install @openstapps/core
|
||||
- node lib/cli.js routes node_modules/@openstapps/core/lib routes.md
|
||||
- NUMBER_OF_LINES=$(cat routes.md | wc -l)
|
||||
- if [ "$NUMBER_OF_LINES" -lt 100 ]; then exit 1; fi
|
||||
artifacts:
|
||||
paths:
|
||||
- routes.md
|
||||
|
||||
Reference in New Issue
Block a user