chore: migrate oxlint CLI type flags to config options #801
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: ci | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| permissions: {} | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - run: corepack enable | |
| - uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 | |
| with: | |
| node-version: 24 | |
| cache: pnpm | |
| - name: 📦 Install dependencies | |
| run: pnpm install | |
| - name: 🔠 Lint project | |
| run: pnpm lint | |
| - name: 🔠 Format project | |
| run: pnpm fmt --check | |
| - name: ✂️ Knip project | |
| run: pnpm knip | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - run: corepack enable | |
| - uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 | |
| with: | |
| node-version: 24 | |
| cache: pnpm | |
| - name: 📦 Install dependencies | |
| run: pnpm install | |
| - name: 🛠 Build project | |
| run: pnpm build | |
| - name: 💪 Test types | |
| run: pnpm test:types | |
| - name: 🧪 Test project | |
| run: pnpm test:unit -- --coverage | |
| - name: 🟩 Coverage | |
| uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2 |