diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 804aa0f..f9ec6bf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,7 +8,7 @@ stages: ############## unit-test: - stage: test + stage: test:unit image: node:18-alpine3.16 script: - npm install diff --git a/ci/Dockerfile b/ci/Dockerfile index 2361709..a3ce78c 100644 --- a/ci/Dockerfile +++ b/ci/Dockerfile @@ -13,6 +13,8 @@ COPY package*.json ./ # Install app dependencies RUN npm ci +RUN npx prisma generate + # Bundle app source COPY . .