Skip to content

Commit

Permalink
build: switch to GitHub actions for CI (#1568)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed Feb 29, 2020
1 parent acc16de commit b80bcf7
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 26 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/ci.yaml
@@ -0,0 +1,42 @@
on:
push:
branches:
- master
pull_request:
name: ci
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [8, 10, 12, 13]
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- run: node --version
- run: npm install
- run: npm test
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm install
- run: npm test
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
- run: npm install
- run: npm test
- run: npm run coverage
env:
COVERALLS_REPO_TOKEN: "${{ secrets.COVERALLS_REPO_TOKEN }}"
COVERALLS_GIT_BRANCH: "${{ github.ref }}"
26 changes: 0 additions & 26 deletions .travis.yml

This file was deleted.

0 comments on commit b80bcf7

Please sign in to comment.