Skip to content

Commit

Permalink
Merge pull request #1339 from OpenGeoscience/node22-build
Browse files Browse the repository at this point in the history
build: node 22 is now lts and requires canvas
  • Loading branch information
manthey authored Nov 4, 2024
2 parents 61df5c5 + a0ca937 commit 0bf0f62
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 0bf0f62

Please sign in to comment.