scroll/Jenkinsfile

37 lines
499 B
Plaintext
Raw Normal View History

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') {
2024-07-26 14:24:08 -04:00
agent any
2024-07-26 10:45:18 -04:00
steps {
2024-07-26 13:45:39 -04:00
sh 'npm install'
2024-07-26 14:24:08 -04:00
sh 'npm run tsx-test'
2024-07-26 10:45:18 -04:00
}
}
2023-11-22 11:37:31 -05:00
}
}