mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 05:44:56 +00:00
44 lines
488 B
Groovy
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'
|
|
}
|
|
}
|
|
}
|
|
}
|