Added a test to verify PGS loading and rendering by comparing it to an example result.

This commit is contained in:
David Schulte
2024-06-16 01:20:57 +02:00
parent 01b4c954fb
commit 54c118e8ac
11 changed files with 1208 additions and 6 deletions
+2
View File
@@ -14,6 +14,8 @@ jobs:
with:
node-version: '22.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: sudo apt-get install -y build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
- run: npm ci
- run: npm run test
- run: npm run build
+2 -2
View File
@@ -1,7 +1,5 @@
name: Run Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
@@ -13,5 +11,7 @@ jobs:
with:
node-version: '22.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: sudo apt-get install -y build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
- run: npm ci
- run: npm run test