Revert "npm ci and node:alpine in use for Gitlab CI"

This reverts commit c7849f3f76.
This commit is contained in:
Aarni Halinen
2018-08-21 22:17:47 +03:00
parent c7849f3f76
commit 1928363474
2 changed files with 8 additions and 8 deletions
+8 -6
View File
@@ -1,3 +1,5 @@
# image: node:7.10.0
stages:
- setup
# - test
@@ -10,31 +12,31 @@ cache:
- node_modules/
setup:
image: node:alpine
image: node
stage: setup
script:
- npm ci
- npm install
# test:unit:
# image: node:alpine
# image: node
# stage: test
# script:
# - npm run test:unit
# test:e2e:
# image: node:alpine
# image: node
# stage: test
# script:
# - npm run test:e2e
ts:lint:
image: node:alpine
image: node
stage: lint
script:
- npm run lint:ts
sass:lint:
image: node:alpine
image: node
stage: lint
script:
- npm run lint:sass
-2
View File
@@ -3,8 +3,6 @@ FROM node:alpine
RUN apk add --no-cache libpng-dev gcc make g++ zlib-dev bash lcms2-dev autoconf automake libtool nasm
WORKDIR /app
COPY package.json package-lock.json ./
COPY .env.sample .env
RUN source .env
RUN npm ci
COPY . ./