Skip to content

Commit

Permalink
Add Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Hi-Ray committed Nov 14, 2024
1 parent 6670388 commit 161505d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
pipeline {
agent any
stages {
stage('Testing') {
steps {
sh '''npm i -g yarn
'''
sh 'yarn'
sh 'yarn test'
}
}

stage('Linting') {
steps {
sh 'yarn'
sh 'yarn lint-test'
}
}

}
}

0 comments on commit 161505d

Please sign in to comment.