added macos napi test

This commit is contained in:
Aliaksei Chapyzhenka 2022-03-28 13:17:19 -07:00 committed by GitHub
parent 6a8f337f16
commit fbc404e3c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

17
.github/workflows/macos-napi.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: MacOS
on: [push, pull_request]
jobs:
test:
name: MacOS ${{ matrix.node-version }}
runs-on: macOS-latest
strategy:
matrix:
node-version: [12, 14, 16, 17]
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 mocha_napi