Improve DMX Usb device type detection. Add customizable OpenDMXUsb re… #146
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest, windows-latest] | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v1 | |
- name: Checkout submodules | |
run: git submodule update --init --recursive | |
- name: Install Node.js and NPM | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
cache: npm | |
- uses: actions/setup-python@v4 # https://github.com/nodejs/node-gyp/issues/2869 | |
with: | |
python-version: '3.11' | |
- name: npm install | |
run: | | |
npm install | |
- name: npm test | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# npm run lint | |
# npm test | |
run: | | |
npm run package | |
npm exec tsc |