Automattic / node-canvas

Node canvas is a Cairo backed Canvas implementation for NodeJS.
10.2k stars 1.17k forks source link

Add test of prebuilds #2452

Open btsimonh opened 3 weeks ago

btsimonh commented 3 weeks ago

Thanks for contributing!

This PR adds a workflow to test install on node versions 18, 20, 22

Also on runners "ubuntu-latest", "windows-latest", "macos-13", "macos-latest".

i.e. it test prebuilds, but builds if a prebuild is not present.

(macos-latest will fail until we have macos arm64 prebuild, or have fixed default building on arm64)

with https://github.com/Automattic/node-canvas/pull/2451 tests succeed for the above runners and node versions.