ci: rename

This commit is contained in:
George Cushen committed 2025-09-17 10:09:25 +01:00
1 parent 1e909204d6
commit bd25b85d1e
13 files changed
+176 -88

No files matched your search

+54
View File
@@ -0,0 +1,54 @@
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"
- ".stylelintrc.yaml"
- "vite.config.js"
pull_request:
branches: [main]
paths:
- "modules/**"
- "test/**"
- "scripts/**"
- "package.json"
- "pnpm-lock.yaml"
- "biome.json"
- ".stylelintrc.yaml"
- "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@v4
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