Ryan Zimmerman 21b01f4b80
Implement GH actions (#881)
* Implement GH actions

* Only build pushes to master

* Don't test Node's own behavior

* Test on Node 16
2021-05-01 10:52:10 -04:00

22 lines
458 B
YAML

name: Node.js CI
on:
push:
branches: master
pull_request:
jobs:
test:
strategy:
matrix:
node: [12.x, 13.x, 14.x, 15.x, 16.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npm test