20 lines
363 B
YAML
20 lines
363 B
YAML
|
name: CI
|
||
|
on:
|
||
|
workflow_dispatch:
|
||
|
pull_request:
|
||
|
push:
|
||
|
|
||
|
jobs:
|
||
|
test:
|
||
|
runs-on: ${{ matrix.os }}
|
||
|
strategy:
|
||
|
fail-fast: true
|
||
|
matrix:
|
||
|
os: [macos-latest, ubuntu-latest]
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- uses: actions/setup-node@v2
|
||
|
with:
|
||
|
node-version: 14
|
||
|
- run: npm install
|
||
|
- run: npm test
|