name: NodeJS on: push: branches: - main pull_request: branches: - main jobs: test: runs-on: ${{matrix.os}} strategy: matrix: os: - ubuntu-latest - macos-latest - windows-latest node: - 16 - 18 steps: - uses: actions/checkout@v3 with: submodules: recursive - name: Setup Node.js ${{matrix.node}} uses: actions/setup-node@v1 with: node-version: ${{matrix.node}} - name: Build/test bindings working-directory: bindings/node.js run: make - name: Install distribution working-directory: bindings/node.js/dist run: npm install