diff options
author | Scoots Dash (Minteck) <contact@minteck.org> | 2022-04-08 12:10:23 +0000 |
---|---|---|
committer | Scoots Dash (Minteck) <contact@minteck.org> | 2022-04-08 12:10:23 +0000 |
commit | c1ff05a2abb4d2eb94b447a95f7d826a12a5e6ef (patch) | |
tree | 137f760ac4292eb922ff4c544c1786fd6caa0887 | |
parent | 6dc11ac389ed8ea0c0291b796a7fcbd4c5b98741 (diff) | |
download | argon-3pad-c1ff05a2abb4d2eb94b447a95f7d826a12a5e6ef.tar.gz argon-3pad-c1ff05a2abb4d2eb94b447a95f7d826a12a5e6ef.tar.bz2 argon-3pad-c1ff05a2abb4d2eb94b447a95f7d826a12a5e6ef.zip |
-rw-r--r-- | .gitlab-ci.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..7adde58 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,14 @@ +# Generic Minteck GitLab CI/CD Checks +# NodeJS applications +image: node:current-buster + +before_script: + - apt-get update + - apt-get install -y git npm + +test: + script: + - npm install + - 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 $? |