Skip to content

apply current transform matrix to Path2Ds used as clips #498

apply current transform matrix to Path2Ds used as clips

apply current transform matrix to Path2Ds used as clips #498

Workflow file for this run

name: Run tests
on:
workflow_dispatch:
push:
pull_request:
branches:
- main
jobs:
run-tests:
name: Rebuild & Test
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- windows-latest
- ubuntu-latest
node:
- 16
- 22
steps:
- name: Enable long paths (Windows only)
if: ${{ matrix.os == 'windows-latest' }}
run: git config --system core.longpaths true
- name: Checkout repository
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Use Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
- name: Use Ninja
uses: seanmiddleditch/gha-setup-ninja@master
- name: Build module
run: make optimized
- name: Run tests
run: |
npm test --verbose