Skip to content

Commit

Permalink
build: node 22 is now lts and requires canvas
Browse files Browse the repository at this point in the history
node 22 requires canvas as a dev dependency to do our screen
comparisons.
  • Loading branch information
manthey committed Nov 4, 2024
1 parent 61df5c5 commit a0ca937
Show file tree
Hide file tree
Showing 3 changed files with 832 additions and 1,040 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
with:
node-version: '20'
- uses: browser-actions/setup-firefox@latest
- run: sudo apt-get install --yes --no-install-recommends optipng imagemagick
- run: sudo apt-get install --yes --no-install-recommends optipng imagemagick build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
- run: sudo apt-get remove --yes fonts-lato
- run: fc-list
- run: firefox --version
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
node-version: 'lts/*'
- run: npm --version && node --version
- uses: browser-actions/setup-firefox@latest
- run: sudo apt-get install --yes --no-install-recommends optipng imagemagick
- run: sudo apt-get install --yes --no-install-recommends optipng imagemagick build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
- run: sudo apt-get remove --yes fonts-lato
- run: fc-list
- run: firefox --version
Expand Down Expand Up @@ -111,6 +111,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- run: sudo apt-get install --yes --no-install-recommends optipng imagemagick build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
- run: npm ci
- name: Import artifacts
uses: actions/download-artifact@v4
Expand Down
Loading

0 comments on commit a0ca937

Please sign in to comment.