mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
CI: Fix npm smoke test expectation
libvips v8.15.1 added jfif to suffixes
This commit is contained in:
2
.github/workflows/npm.yml
vendored
2
.github/workflows/npm.yml
vendored
@@ -127,7 +127,7 @@ jobs:
|
||||
contents: |
|
||||
import { deepStrictEqual } from 'node:assert';
|
||||
import sharp from 'sharp';
|
||||
deepStrictEqual(['.jpg', '.jpeg', '.jpe'], sharp.format.jpeg.input.fileSuffix);
|
||||
deepStrictEqual(['.jpg', '.jpeg', '.jpe', '.jfif'], sharp.format.jpeg.input.fileSuffix);
|
||||
|
||||
- name: Run with Node.js + npm
|
||||
if: ${{ matrix.package-manager == 'npm' }}
|
||||
|
||||
Reference in New Issue
Block a user