Skip to content

Merge pull request #46 from JacobLinCool/changeset-release/main #95

Merge pull request #46 from JacobLinCool/changeset-release/main

Merge pull request #46 from JacobLinCool/changeset-release/main #95

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: Test (${{ matrix.os }}, Node v${{ matrix.node }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node: [18, 20, 22]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: true
- name: Install Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- uses: actions/setup-python@v5
if: matrix.os == 'macos-latest'
with:
python-version: "3.10"
- name: Install distutils
run: python -m pip install setuptools
- name: Check OpenBLAS installed (linux)
if: matrix.os == 'ubuntu-latest'
run: ldconfig -p | grep openblas
continue-on-error: true
- name: Setup PNPM
uses: pnpm/action-setup@v4
with:
run_install: true
- name: Test
run: pnpm test