Update Jenkinsfile.groovy

This commit is contained in:
fernando 2024-10-04 22:08:55 +00:00
parent b43611ad90
commit 68c175bd8f

View File

@ -1,11 +1,18 @@
pipeline {
agent {
docker { image 'node:14-alpine' }
docker {
image 'gplane/pnpm:9.11.0'
}
}
stages {
stage('Test') {
stage('Install dependencies') {
steps {
sh 'node --version'
sh 'pnpm i'
}
}
stage('Buid') {
steps {
sh 'pnpm build'
}
}
}