Skip to content

Commit

Permalink
chore: use github ci (#1836)
Browse files Browse the repository at this point in the history
leaving Travis CI until we gain confidence in GitHub Actions as CI.
  • Loading branch information
ghermeto committed Jun 28, 2020
1 parent 75aa689 commit 35871c9
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 1 deletion.
46 changes: 46 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,46 @@
on:
push:
branches:
- master
pull_request:
branches:
- master
name: ci
jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install node v10
uses: actions/setup-node@v1
with:
node-version: v10.x
- name: install dependencies
run: npm install
- name: check lint
run: make check-lint
test:
name: test node ${{ matrix.node-version }} on ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
node-version:
- 10.x
- 12.x
- 14.x
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v2
- name: use node ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: install dependencies
run: npm install
- name: test
run: make test
env:
TEST_SKIP_IP_V6: true
2 changes: 1 addition & 1 deletion test/plugins/audit.test.js
Expand Up @@ -730,7 +730,7 @@ describe('audit logger', function() {
setTimeout(function() {
res.send();
next();
}, 100);
}, 150);
});

CLIENT.get(
Expand Down

0 comments on commit 35871c9

Please sign in to comment.