Skip to content

Commit

Permalink
system dependencies needed by the 'canvas' package
Browse files Browse the repository at this point in the history
  • Loading branch information
akaiap committed Oct 30, 2024
1 parent 38a69a8 commit 3908985
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,15 @@ jobs:
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v4
# install system dependencies needed by the 'canvas' package
- name: Install dependencies for canvas
run: |
sudo apt-get update
sudo apt-get install -y libcairo2-dev libpango1.0-dev
libjpeg-dev libgif-dev librsvg2-dev
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
Expand Down

0 comments on commit 3908985

Please sign in to comment.