aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5e0b8de..7adde58 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,3 +1,5 @@
+# Generic Minteck GitLab CI/CD Checks
+# NodeJS applications
image: node:current-buster
before_script:
@@ -7,6 +9,6 @@ before_script:
test:
script:
- npm install
- - rm failed.log
+ - rm -Rfvd failed.log
- bash -c "rm failed.log; rm -f failed.log; find . -path ./node_modules -prune -o -name "*.js" \( -exec node -c {} \; -o -exec echo {} > failed.log \; \); echo $([ ! -s failed.log ]; echo $?); exit $([ ! -s failed.log ]; echo $?)"; echo $?
- bash -c "rm failed.log; rm -f failed.log; find . -path ./node_modules -prune -o -name "*.js" \( -exec node -c {} \; -o -exec echo {} > failed.log \; \); echo $([ ! -s failed.log ]; echo $?); exit $([ ! -s failed.log ]; echo $?)"; echo $?