aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2021-12-04 14:38:47 +0000
committerMinteck <contact@minteck.org>2021-12-04 14:38:47 +0000
commite3e5b0e07d62f9f5ffb0f1d084d83f32f0438b56 (patch)
tree1be9cd02eaf6284024f796e31ae3d096fe6ebae3
parentcf160b1477d7f20b8dfd564cfa0cb281e5d746a8 (diff)
downloadkartik-legacy-server-trunk.tar.gz
kartik-legacy-server-trunk.tar.bz2
kartik-legacy-server-trunk.zip
Update .gitlab-ci.ymlHEADtrunk
-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 $?