Files
metabuilder/Jenkinsfile

44 lines
488 B
Groovy

pipeline {
agent any
tools {
nodejs 'node25'
}
options {
timestamps()
}
stages {
stage('Checkout') {
steps {
checkout scm
}
}
stage('Install') {
steps {
sh 'npm ci'
}
}
stage('Lint') {
steps {
sh 'npm run lint'
}
}
stage('Typecheck') {
steps {
sh 'npm run typecheck'
}
}
stage('Test') {
steps {
sh 'npm test'
}
}
}
}