2023-11-22 11:37:31 -05:00
|
|
|
pipeline {
|
|
|
|
agent none
|
|
|
|
stages {
|
|
|
|
stage('bun') {
|
|
|
|
agent {
|
|
|
|
docker {
|
|
|
|
image 'oven/bun:1-debian'
|
|
|
|
args '-u root --privileged'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
steps {
|
2023-11-22 11:54:29 -05:00
|
|
|
sh 'bun test --coverage'
|
2023-11-22 11:37:31 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('deno') {
|
|
|
|
agent {
|
|
|
|
docker {
|
2024-06-26 15:46:08 -04:00
|
|
|
image 'rust:alpine'
|
2023-11-22 11:37:31 -05:00
|
|
|
args '-u root --privileged'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
steps {
|
2023-11-22 12:00:24 -05:00
|
|
|
sh 'apk add just'
|
2024-06-26 15:46:08 -04:00
|
|
|
sh 'apk add deno'
|
2023-11-22 11:37:31 -05:00
|
|
|
sh 'just deno-test'
|
|
|
|
}
|
|
|
|
}
|
2024-07-26 10:45:18 -04:00
|
|
|
stage('tsx') {
|
|
|
|
agent {
|
|
|
|
docker {
|
2024-07-26 13:39:35 -04:00
|
|
|
image 'node:alpine'
|
|
|
|
args '-u root --privileged -e NPM_CONFIG_LOGLEVEL=info'
|
2024-07-26 10:45:18 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
steps {
|
2024-07-26 13:39:35 -04:00
|
|
|
sh 'apk add --no-cache gcompat'
|
|
|
|
sh 'apk add just'
|
|
|
|
sh 'just tsx-test'
|
2024-07-26 10:45:18 -04:00
|
|
|
}
|
|
|
|
}
|
2023-11-22 11:37:31 -05:00
|
|
|
}
|
|
|
|
}
|