summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/srp/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/srp/.gitlab-ci.yml')
-rw-r--r--app/assets/javascripts/srp/.gitlab-ci.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/assets/javascripts/srp/.gitlab-ci.yml b/app/assets/javascripts/srp/.gitlab-ci.yml
new file mode 100644
index 0000000..fc861e5
--- /dev/null
+++ b/app/assets/javascripts/srp/.gitlab-ci.yml
@@ -0,0 +1,12 @@
+image: ruby:latest
+
+# This folder is cached between builds
+# http://docs.gitlab.com/ce/ci/yaml/README.html#cache
+cache:
+ paths:
+ - node_modules/
+
+test:
+ script:
+ - npm install
+ - npm test \ No newline at end of file