diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 000000000..bb95e70bb --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,39 @@ +pipeline { + agent any + + 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' + } + } + } +}