switch to github actions
This commit is contained in:
parent
5cc954bb02
commit
494ee61d71
|
@ -0,0 +1,18 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [8, 10, 12]
|
||||
os: [ubuntu-latest, windows-latest, macOS-latest]
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- run: |
|
||||
npm install
|
||||
npm test
|
||||
env:
|
||||
CI: true
|
|
@ -1,9 +0,0 @@
|
|||
language: node_js
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
- windows
|
||||
node_js:
|
||||
- "8"
|
||||
- "10"
|
||||
- node
|
Loading…
Reference in New Issue