소스 검색

build: run tests in docker container during build

Reduces the risk of an updated Docker image breaking things unnoticed
Jonas Gloning 2 년 전
부모
커밋
1363adf592
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      Dockerfile

+ 1 - 0
Dockerfile

@@ -5,6 +5,7 @@ COPY package.json package-lock.json ./
 RUN npm clean-install
 COPY . ./
 RUN npm run build
+RUN npm run test
 
 FROM node:18.13.0-alpine as production
 RUN mkdir /peer-server