2020-09-13 18:37:30 -07:00

19 lines
474 B
YAML

name: Node
on: [push]
jobs:
test:
name: Node ${{ matrix.node-version }} . ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [10, 12, 14]
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm i
- run: npm test