Skip to content

chore: use cargo binstall to install zigbuild and xwin #500

chore: use cargo binstall to install zigbuild and xwin

chore: use cargo binstall to install zigbuild and xwin #500

name: Test Node bindings
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Build
working-directory: bindings/node
run: yarn && yarn install && yarn build
- name: Run tests
working-directory: bindings/node
run: yarn test