diff options
author | Minteck <contact@minteck.org> | 2021-12-04 14:28:23 +0000 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2021-12-04 14:28:23 +0000 |
commit | cf160b1477d7f20b8dfd564cfa0cb281e5d746a8 (patch) | |
tree | 1eb039558b94fcabaf0d2bce60c3339f409a7506 /.gitlab-ci.yml | |
parent | f033a33f07e4f8d66453466a25549e889a04cf50 (diff) | |
download | kartik-legacy-server-cf160b1477d7f20b8dfd564cfa0cb281e5d746a8.tar.gz kartik-legacy-server-cf160b1477d7f20b8dfd564cfa0cb281e5d746a8.tar.bz2 kartik-legacy-server-cf160b1477d7f20b8dfd564cfa0cb281e5d746a8.zip |
Add new file
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..5e0b8de --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,12 @@ +image: node:current-buster + +before_script: + - apt-get update + - apt-get install -y git npm + +test: + script: + - npm install + - rm 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 $? |