scroll/Jenkinsfile
Timothy J. Warren 57e96db4ff
Some checks failed
timw4mail/scroll/pipeline/head There was a failure building this commit
Attempt to test tsx
2024-07-26 13:39:35 -04:00

43 lines
641 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:alpine'
args '-u root --privileged -e NPM_CONFIG_LOGLEVEL=info'
}
}
steps {
sh 'apk add --no-cache gcompat'
sh 'apk add just'
sh 'just tsx-test'
}
}
}
}