Skip to content

chore: add Prettier formatting with eslint-config-prettier integration #24

chore: add Prettier formatting with eslint-config-prettier integration

chore: add Prettier formatting with eslint-config-prettier integration #24

Workflow file for this run

name: PR validation
on:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
quality:
name: ESLint
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Format check
run: npm run format
- name: Lint
run: npm run lint
tests:
name: Tests (Node ${{ matrix.node-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: ["20", "22", "24"]
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Run tests
run: npm test