Aliaksei Chapyzhenka 7b4f9046a3 CI test onlu napi
2020-11-28 18:54:49 -08:00

19 lines
501 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, 15]
os: [ubuntu-latest] # failing on [windows-latest, macOS-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 run test_napi