Skip to content

fix: allow webp images to be processed and not just generated #43

fix: allow webp images to be processed and not just generated

fix: allow webp images to be processed and not just generated #43

Workflow file for this run

name: Continuous Integration
on:
push:
pull_request:
jobs:
lint:
name: Lint and format check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 22.x
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Check code formatting
run: npm run format:check
- name: Run linter
run: npm run lint:check
test:
name: Run tests
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@v4
- name: Setup node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 22.x
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test