ci: allow audit to fail

This commit is contained in:
Wieland Schöbl
2019-04-03 12:50:05 +02:00
parent 1022150ca3
commit 944f4e252d
3 changed files with 15 additions and 5 deletions

View File

@@ -36,6 +36,16 @@ audit:
stage: test stage: test
script: script:
- npm audit - npm audit
allow_failure: true
except:
- schedules
scheduled-audit:
stage: test
script:
- npm-audit
only:
- schedules
routes: routes:
dependencies: dependencies:
@@ -43,7 +53,7 @@ routes:
stage: test stage: test
script: script:
- npm install @openstapps/core - npm install @openstapps/core
- node lib/cli.js routes node_modules/@openstapps/core routes.md - node lib/cli.js routes node_modules/@openstapps/core/lib routes.md
artifacts: artifacts:
paths: paths:
- routes.md - routes.md

View File

@@ -132,7 +132,7 @@ openstapps-core-tools validate lib/schema src/test/resources report.html
To generate a documentation for the routes use the following command. To generate a documentation for the routes use the following command.
```shell ```shell
openstapps-core-tools routes PATH/TO/CORE PATH/TO/ROUTES.md openstapps-core-tools routes PATH/TO/CORE/lib PATH/TO/ROUTES.md
``` ```
## Pack definitions and implementations ## Pack definitions and implementations

6
package-lock.json generated
View File

@@ -1995,9 +1995,9 @@
"dev": true "dev": true
}, },
"js-yaml": { "js-yaml": {
"version": "3.12.2", "version": "3.13.0",
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.12.2.tgz", "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.0.tgz",
"integrity": "sha512-QHn/Lh/7HhZ/Twc7vJYQTkjuCa0kaCcDcjK5Zlk2rvnUpy7DxMJ23+Jc2dcyvltwQVg1nygAVlB2oRDFHoRS5Q==", "integrity": "sha512-pZZoSxcCYco+DIKBTimr67J6Hy+EYGZDY/HCWC+iAEA9h1ByhMXAIVUXMcMFpOCxQ/xjXmPI2MkDL5HRm5eFrQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"argparse": "^1.0.7", "argparse": "^1.0.7",