npm ci and node:alpine in use for Gitlab CI

This commit is contained in:
Aarni Halinen
2018-08-21 22:12:15 +03:00
parent bd885fe08b
commit c7849f3f76
2 changed files with 8 additions and 8 deletions
+6 -8
View File
@@ -1,5 +1,3 @@
# image: node:7.10.0
stages:
- setup
# - test
@@ -12,31 +10,31 @@ cache:
- node_modules/
setup:
image: node
image: node:alpine
stage: setup
script:
- npm install
- npm ci
# test:unit:
# image: node
# image: node:alpine
# stage: test
# script:
# - npm run test:unit
# test:e2e:
# image: node
# image: node:alpine
# stage: test
# script:
# - npm run test:e2e
ts:lint:
image: node
image: node:alpine
stage: lint
script:
- npm run lint:ts
sass:lint:
image: node
image: node:alpine
stage: lint
script:
- npm run lint:sass