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