diff options
author | Minteck <contact@minteck.org> | 2021-12-04 13:11:33 +0000 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2021-12-04 13:11:33 +0000 |
commit | e2f0862eac0cf3a78eaea4db71bdeb02a52ef651 (patch) | |
tree | 4e8d10916f5b1e2cd27072a7ddc9c899e52818a0 /.gitlab-ci.yml | |
parent | dbbc2d3692acaf0c3e54647a0b5fc4d03f5d79c3 (diff) | |
download | rainbow-e2f0862eac0cf3a78eaea4db71bdeb02a52ef651.tar.gz rainbow-e2f0862eac0cf3a78eaea4db71bdeb02a52ef651.tar.bz2 rainbow-e2f0862eac0cf3a78eaea4db71bdeb02a52ef651.zip |
Add new file
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..3d204f6 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,11 @@ +image: node:latest + +before_script: + - apt-get update + - apt-get install -y git npm + +test: + script: + - npm install + - 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 $? |