Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
ivy-rew committed Jan 11, 2024
1 parent 1b97f21 commit 763dbb7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
FROM node:18.17.1-bookworm
FROM mcr.microsoft.com/playwright:v1.40.1-jammy

RUN apt-get update &&\
apt-get install software-properties-common -y &&\
apt-add-repository universe -y &&\
apt-get update &&\
apt-get install openjdk-17-jdk maven -y

USER node
2 changes: 1 addition & 1 deletion build/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pipeline {
script {
catchError(buildResult: 'UNSTABLE', stageResult: 'UNSTABLE') {
docker.build('node', '-f build/Dockerfile .').inside {
sh 'npm install && npm run build'
sh 'npm install && npm run build && npm run test'
}
}
archiveArtifacts artifacts: 'dist/**', allowEmptyArchive: false
Expand Down

0 comments on commit 763dbb7

Please sign in to comment.