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 { pipeline {
agent { agent {
docker { image 'node:14-alpine' } docker {
image 'gplane/pnpm:9.11.0'
}
} }
stages { stages {
stage('Test') { stage('Install dependencies') {
steps { steps {
sh 'node --version' sh 'pnpm i'
}
}
stage('Buid') {
steps {
sh 'pnpm build'
} }
} }
} }