Skip to content

Merge pull request #506 from Julusian/feat/hid-async-v2 #72

Merge pull request #506 from Julusian/feat/hid-async-v2

Merge pull request #506 from Julusian/feat/hid-async-v2 #72

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: macos
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: macos-latest
strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v2
- name: Use Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11 # ${{ matrix.python }}
env:
PYTHON_VERSION: 3.11 # ${{ matrix.python }} # Why do this?
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm run prepublishOnly
- run: npm install --build-from-source
- run: npm test