dependencies: update nan to 2.19.0 #186
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |