feat: jenkins

This commit is contained in:
Araozu 2024-11-20 19:57:05 -05:00
parent 2b762239a9
commit 62fcfe0110

20
Jenkinsfile vendored
View File

@ -1,21 +1,31 @@
pipeline {
agent {
docker {
image 'node:22'
}
}
stages {
stage('Install pnpm') {
agent {
docker {
image 'node:22'
}
}
steps {
sh 'npm i -g pnpm'
}
}
stage('Install dependencies') {
agent {
docker {
image 'node:22'
}
}
steps {
sh 'pnpm i'
}
}
stage('Buid') {
agent {
docker {
image 'node:22'
}
}
steps {
sh 'THP_BINARY=/var/bin/thp pnpm build'
}