Skip to content

dependencies: update nan to 2.19.0 #186

dependencies: update nan to 2.19.0

dependencies: update nan to 2.19.0 #186

Workflow file for this run

name: Node.js CI
on: push
jobs:
build:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
node-version: [12, 14, 16, 18, 20]
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