We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e62c09a + 0d06eb8 commit a003e55Copy full SHA for a003e55
Jenkinsfile
@@ -0,0 +1,21 @@
1
+pipeline {
2
+ agent any
3
+ tools {nodejs "node"}
4
+ stages {
5
+ stage('Install dependencies') {
6
+ steps {
7
+ bat 'npm install'
8
+ }
9
10
+ stage('Run tests') {
11
12
+ bat 'npm run tests'
13
14
15
+ stage('Build project') {
16
17
+ bat 'npm run build'
18
19
20
21
+}
package.json
@@ -4,6 +4,7 @@
"description": "Simplified ts api, app template",
"main": "./build/index.js",
"scripts": {
+ "tests": "echo 'tests not implemented'",
"build": "tsc --skipLibCheck",
"start": "tsc --skipLibCheck && node ./build/app.js",
"ts:watch": "tsc -w"
0 commit comments