Skip to content

Add oxlint with type-aware linting #488

Add oxlint with type-aware linting

Add oxlint with type-aware linting #488

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
CI: true
NODE_VERSION: 22
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Check formatting
run: pnpm run format --check
- name: Lint
run: pnpm run lint
- name: Build Prettier Plugin
run: pnpm run build
- name: Test against Prettier v3
run: pnpm run test