aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2021-12-04 14:28:20 +0000
committerMinteck <contact@minteck.org>2021-12-04 14:28:20 +0000
commit9fece615bf5a2055ff446539d3b673e15300ca0d (patch)
tree792bc1e4f4d057a6e24e300fe4b2628f9d51a8b3
parent292c0faf6248660dec97ffb111377d5e59f27add (diff)
downloadkartik-iridium-9fece615bf5a2055ff446539d3b673e15300ca0d.tar.gz
kartik-iridium-9fece615bf5a2055ff446539d3b673e15300ca0d.tar.bz2
kartik-iridium-9fece615bf5a2055ff446539d3b673e15300ca0d.zip
Add new file
-rw-r--r--.gitlab-ci.yml12
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 $?