From e3e5b0e07d62f9f5ffb0f1d084d83f32f0438b56 Mon Sep 17 00:00:00 2001 From: Minteck Date: Sat, 4 Dec 2021 14:38:47 +0000 Subject: Update .gitlab-ci.yml --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.gitlab-ci.yml') 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 $? -- cgit