Update Jenkinsfile.groovy
This commit is contained in:
parent
68c175bd8f
commit
c85b598e59
@ -1,10 +1,15 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent {
|
agent {
|
||||||
docker {
|
docker {
|
||||||
image 'gplane/pnpm:9.11.0'
|
image 'node:22'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stages {
|
stages {
|
||||||
|
stage('Install pnpm') {
|
||||||
|
steps {
|
||||||
|
sh 'npm i -g pnpm'
|
||||||
|
}
|
||||||
|
}
|
||||||
stage('Install dependencies') {
|
stage('Install dependencies') {
|
||||||
steps {
|
steps {
|
||||||
sh 'pnpm i'
|
sh 'pnpm i'
|
||||||
|
Loading…
Reference in New Issue
Block a user