Skip to content

Commit 161505d

Browse files
committed
Add Jenkinsfile
1 parent 6670388 commit 161505d

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

Jenkinsfile

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
pipeline {
2+
agent any
3+
stages {
4+
stage('Testing') {
5+
steps {
6+
sh '''npm i -g yarn
7+
'''
8+
sh 'yarn'
9+
sh 'yarn test'
10+
}
11+
}
12+
13+
stage('Linting') {
14+
steps {
15+
sh 'yarn'
16+
sh 'yarn lint-test'
17+
}
18+
}
19+
20+
}
21+
}

0 commit comments

Comments
 (0)