25 lines
426 B
Groovy
25 lines
426 B
Groovy
pipeline {
|
|
agent {
|
|
docker {
|
|
image 'node:22'
|
|
}
|
|
}
|
|
stages {
|
|
stage('Install pnpm') {
|
|
steps {
|
|
sh 'npm i -g pnpm'
|
|
}
|
|
}
|
|
stage('Install dependencies') {
|
|
steps {
|
|
sh 'npm i'
|
|
}
|
|
}
|
|
stage('Buid') {
|
|
steps {
|
|
sh 'npm build'
|
|
}
|
|
}
|
|
}
|
|
}
|