Skip to content

refactor!: migrate to ESM #126

refactor!: migrate to ESM

refactor!: migrate to ESM #126

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