scroll/Jenkinsfile
Timothy J. Warren 7aa71d4dae
Some checks failed
timw4mail/scroll/pipeline/head There was a failure building this commit
Attempt to test tsx
2024-07-26 10:45:18 -04:00

42 lines
582 B
Groovy

pipeline {
agent none
stages {
stage('bun') {
agent {
docker {
image 'oven/bun:1-debian'
args '-u root --privileged'
}
}
steps {
sh 'bun test --coverage'
}
}
stage('deno') {
agent {
docker {
image 'rust:alpine'
args '-u root --privileged'
}
}
steps {
sh 'apk add just'
sh 'apk add deno'
sh 'just deno-test'
}
}
stage('tsx') {
agent {
docker {
image 'node:22-alpine'
args '-u root --privileged'
}
}
steps {
sh 'npm install'
sh 'npm run tsx-test'
}
}
}
}