Skip to content
Permalink
Browse files

Added support for node 13

  • Loading branch information
yandeu committed Dec 30, 2019
1 parent afd6fc5 commit 98d10987e9427d6d6b8714c4f4daf001f945cb91
Showing with 35 additions and 2 deletions.
  1. +20 −0 Jenkinsfile
  2. +13 −0 dockerfiles/node13.Dockerfile
  3. +1 −1 packages/client/package.json
  4. +1 −1 packages/server/package.json
@@ -86,6 +86,26 @@ pipeline {
}
}

stage('Test on Node.js 13') {
agent {
dockerfile {
filename 'node13.Dockerfile'
dir 'dockerfiles'
}
}
steps {
timeout(20) {
retry(2) {
sh 'node --version'
sh 'npm --version'
sh 'npm install --unsafe-perm'
sh 'npm test'
publishCoverage adapters: [coberturaAdapter('output/coverage/jest/cobertura-coverage.xml')], sourceFileResolver: sourceFiles('STORE_LAST_BUILD')
}
}
}
}

}
}
}
@@ -0,0 +1,13 @@
# A minimal Docker image with Node and Puppeteer
#
# Based upon:
# https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md#running-puppeteer-in-docker

FROM node:13-stretch

RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
&& sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \
&& apt-get update \
&& apt-get install -y google-chrome-unstable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst ttf-freefont \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
@@ -34,7 +34,7 @@
"lib": "lib"
},
"engines": {
"node": "^8 || ^10 || ^11 || ^12"
"node": "^8 || ^10 || ^11 || ^12 || ^13"
},
"scripts": {
"bundle": "npm run bundle:version && npm run bundle:latest",
@@ -34,7 +34,7 @@
"lib": "lib"
},
"engines": {
"node": "^8 || ^10 || ^11 || ^12"
"node": "^8 || ^10 || ^11 || ^12 || ^13"
},
"scripts": {
"build": "tsc --build tsconfig.json",

0 comments on commit 98d1098

Please sign in to comment.
You can’t perform that action at this time.