npm ci and node:alpine in use for Gitlab CI
This commit is contained in:
+6
-8
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user