Skip to content

ESM Migration

ESM Migration #125

Workflow file for this run

name: tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 21.x, latest]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install system dependencies
run: sudo apt-get install libcairo2-dev libpango1.0-dev libgif-dev
- run: npm ci
- run: npm install canvas
- run: npm test
env:
CI: true