From 944f4e252ddcb3ae6830b071d3bd88755a98400a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wieland=20Sch=C3=B6bl?= Date: Wed, 3 Apr 2019 12:50:05 +0200 Subject: [PATCH] ci: allow audit to fail --- .gitlab-ci.yml | 12 +++++++++++- README.md | 2 +- package-lock.json | 6 +++--- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 02d1177a..5641193e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -36,6 +36,16 @@ audit: stage: test script: - npm audit + allow_failure: true + except: + - schedules + +scheduled-audit: + stage: test + script: + - npm-audit + only: + - schedules routes: dependencies: @@ -43,7 +53,7 @@ routes: stage: test script: - 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: paths: - routes.md diff --git a/README.md b/README.md index 533574ed..b0f683b6 100644 --- a/README.md +++ b/README.md @@ -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. ```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 diff --git a/package-lock.json b/package-lock.json index e64a9c4b..60d18a29 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1995,9 +1995,9 @@ "dev": true }, "js-yaml": { - "version": "3.12.2", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.12.2.tgz", - "integrity": "sha512-QHn/Lh/7HhZ/Twc7vJYQTkjuCa0kaCcDcjK5Zlk2rvnUpy7DxMJ23+Jc2dcyvltwQVg1nygAVlB2oRDFHoRS5Q==", + "version": "3.13.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.0.tgz", + "integrity": "sha512-pZZoSxcCYco+DIKBTimr67J6Hy+EYGZDY/HCWC+iAEA9h1ByhMXAIVUXMcMFpOCxQ/xjXmPI2MkDL5HRm5eFrQ==", "dev": true, "requires": { "argparse": "^1.0.7",