mirror of
https://gitlab.edgegamers.io/discord/ds-bot.git
synced 2025-12-06 02:32:42 -08:00
Move out of before_script
This commit is contained in:
@@ -10,14 +10,12 @@ cache:
|
||||
paths:
|
||||
- node_modules/
|
||||
|
||||
before_script:
|
||||
- npm install
|
||||
- npm run lint
|
||||
|
||||
build:
|
||||
image: node:latest
|
||||
stage: build
|
||||
script:
|
||||
- npm install
|
||||
- npm run lint
|
||||
- npm run build
|
||||
artifacts:
|
||||
untracked: false
|
||||
|
||||
@@ -4,7 +4,6 @@ WORKDIR /dsbot
|
||||
|
||||
COPY package*.json ./
|
||||
|
||||
RUN apt-get update && apt-get install -y npm
|
||||
RUN npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
Reference in New Issue
Block a user