Skip to content

Commit 65e99f9

Browse files
committed
build: node 22 is now lts and requires canvas
node 22 requires canvas as a dev dependency to do our screen comparisons.
1 parent 61df5c5 commit 65e99f9

File tree

3 files changed

+831
-1040
lines changed

3 files changed

+831
-1040
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
node-version: '20'
2424
- uses: browser-actions/setup-firefox@latest
25-
- run: sudo apt-get install --yes --no-install-recommends optipng imagemagick
25+
- run: sudo apt-get install --yes --no-install-recommends optipng imagemagick build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
2626
- run: sudo apt-get remove --yes fonts-lato
2727
- run: fc-list
2828
- run: firefox --version
@@ -75,7 +75,7 @@ jobs:
7575
node-version: 'lts/*'
7676
- run: npm --version && node --version
7777
- uses: browser-actions/setup-firefox@latest
78-
- run: sudo apt-get install --yes --no-install-recommends optipng imagemagick
78+
- run: sudo apt-get install --yes --no-install-recommends optipng imagemagick build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
7979
- run: sudo apt-get remove --yes fonts-lato
8080
- run: fc-list
8181
- run: firefox --version

0 commit comments

Comments
 (0)