Files
HugoBlox-kit/.github/workflows/ci-lint.yml
T
George Cushen 6015c70b1e chore(lint): migrate CSS linting to Biome v2.3 (Tailwind v4) and remove stylelint
upgrade @biomejs/biome to ^2.3.2 and migrate biome.json to v2 schema
enable css.parser.tailwindDirectives; ignore .min.css and vendor CSS
remove stylelint deps and .stylelintrc.yaml; switch lint scripts to Biome
update workspace to use Biome for CSS; drop stylelint settings
2025-11-02 20:57:26 +00:00

53 lines
1.1 KiB
YAML

name: CI - Lint
run-name: ${{ github.workflow }} - ${{ github.ref_name }}
on:
push:
branches: [main]
paths:
- "modules/**"
- "test/**"
- "scripts/**"
- "package.json"
- "pnpm-lock.yaml"
- "biome.json"
- "vite.config.js"
pull_request:
branches: [main]
paths:
- "modules/**"
- "test/**"
- "scripts/**"
- "package.json"
- "pnpm-lock.yaml"
- "biome.json"
- "vite.config.js"
permissions:
contents: read
concurrency:
group: lint-${{ github.ref }}
cancel-in-progress: true
env:
NODE_VERSION: "22"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Enable Corepack (for pnpm cache)
run: corepack enable
- uses: actions/setup-node@v6
with:
node-version: "${{ env.NODE_VERSION }}"
cache: "pnpm"
- name: Activate pnpm from root package.json
run: pnpm --version
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Lint (Biome + Stylelint)
run: pnpm run lint