Skip to content

Merge pull request #94 from w3nl/renovate/eslint-plugin-n-17.x-lockfile #109

Merge pull request #94 from w3nl/renovate/eslint-plugin-n-17.x-lockfile

Merge pull request #94 from w3nl/renovate/eslint-plugin-n-17.x-lockfile #109

Workflow file for this run

name: Node Test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Update APT
run: sudo apt update
- name: Install LibreOffice
run: sudo apt install libreoffice
- name: Install imagemagick
run: sudo apt install imagemagick ghostscript
- name: Change ImageMagick policy to allow pdf->png conversion.
run: sudo sed -i 's/^.*policy.*coder.*none.*PDF.*//' /etc/ImageMagick-6/policy.xml
- name: npm test
run: |
npm ci
npm test
env:
CI: true