Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add focal to travis, and debian stretch / buster to Github action to catch errors like Error:SSL routines:SSL_CTX_use_certificate:ee key too small #271

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
22 changes: 22 additions & 0 deletions .github/workflows/docker-image-buster.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Docker-Image-CI-buster

on: [push, pull_request]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: docker pull node:current-buster
run: docker pull node:current-buster
- name: npm run install
run: docker run -w $(pwd) -v $(pwd):$(pwd) node:current-buster /bin/sh -c "npm install"
- name: npm run lint
run: docker run -w $(pwd) -v $(pwd):$(pwd) node:current-buster /bin/sh -c "npm run lint"
- name: npm run test
run: docker run -w $(pwd) -v $(pwd):$(pwd) node:current-buster /bin/sh -c "npm run test"
#fixme - name: npm run test-coverage
#fixme run: docker run -w $(pwd) -v $(pwd):$(pwd) node:current-buster /bin/sh -c "npm run test-coverage && cat coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf coverage"
22 changes: 22 additions & 0 deletions .github/workflows/docker-image-stretch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Docker-Image-CI-stretch

on: [push, pull_request]

jobs:

build-stretch:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: docker pull node:current-stretch
run: docker pull node:current-stretch
- name: npm run install
run: docker run -w $(pwd) -v $(pwd):$(pwd) node:current-stretch /bin/sh -c "npm install"
- name: npm run lint
run: docker run -w $(pwd) -v $(pwd):$(pwd) node:current-stretch /bin/sh -c "npm run lint"
- name: npm run test
run: docker run -w $(pwd) -v $(pwd):$(pwd) node:current-stretch /bin/sh -c "npm run test"
#fixme - name: npm run test-coverage
#fixme run: docker run -w $(pwd) -v $(pwd):$(pwd) node:current-stretch /bin/sh -c "npm run test-coverage && cat coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf coverage"
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ node_js:
- 13
- 13
- 14
jobs:
include:
- os: linux
dist: xenial
- os: linux
dist: focal
script:
- npm run lint
- npm run test
Expand Down