Skip to content

ci: switch GHA workflows to Ubuntu 24.04 runner images #217

ci: switch GHA workflows to Ubuntu 24.04 runner images

ci: switch GHA workflows to Ubuntu 24.04 runner images #217

Workflow file for this run

name: Node.js CI
on: push
jobs:
build:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
node-version: [16, 18, 20, 22]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install canvas dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential libcairo2-dev libgif-dev libpango1.0-dev
- name: Install NPM packages
run: cd "$GITHUB_WORKSPACE"/export-server && npm install
- name: Tests
run: cd "$GITHUB_WORKSPACE"/export-server && ./test.sh
if: matrix.node-version >= 18