Move to GitHub Actions (#129)

This commit is contained in:
Richie Bendall 2021-01-02 17:25:04 +13:00 committed by GitHub
parent d528545e02
commit da6bb531af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 23 additions and 6 deletions

22
.github/workflows/main.yml vendored Normal file
View file

@ -0,0 +1,22 @@
name: CI
on:
- push
- pull_request
jobs:
test:
name: Node.js ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version:
- 14
- 12
- 10
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test