Skip to content

Update node versions tested #28

Update node versions tested

Update node versions tested #28

Workflow file for this run

name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: sudo apt-get -y install --no-install-recommends chromium-driver build-essental libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
- run: npm ci
- run: npx puppeteer browsers install chrome
- run: npm run build
- run: npm run lint
- run: npm test
- run: npm run endToEndTest