Browse Source

Added .gitlab-ci.yml

Jesús 1 year ago
parent
commit
e70482f324
Signed by: Jesús <heckyel@hyperbola.info> GPG Key ID: F6EE7BC59A315766
1 changed files with 16 additions and 0 deletions
  1. 16
    0
      .gitlab-ci.yml

+ 16
- 0
.gitlab-ci.yml View File

@@ -0,0 +1,16 @@
1
+# This file is a template, and might need editing before it works on your project.
2
+# Official framework image. Look for the different tagged releases at:
3
+# https://hub.docker.com/r/library/node/tags/
4
+image: node:latest
5
+
6
+# This folder is cached between builds
7
+# http://docs.gitlab.com/ce/ci/yaml/README.html#cache
8
+cache:
9
+  paths:
10
+  - node_modules/
11
+
12
+test_async:
13
+  script:
14
+   - npm install
15
+   - npm run lint
16
+   - npm run build