Files
worldmonitor/.github/workflows/lint-code.yml
Elie Habib 50626a40c7 chore: bump version to 2.6.7 (#2637)
* chore: bump version to 2.6.7

* chore: sync Cargo.lock to 2.6.7 (was stuck at 2.6.5)

* ci: skip lint/test/typecheck for non-code PRs (docs, Tauri, version bumps)

Added paths-ignore to lint-code, test, and typecheck workflows so they
don't run when only markdown, docs, src-tauri config, or desktop build
files change. Push to main still runs unconditionally.
2026-04-03 07:37:45 +04:00

36 lines
740 B
YAML

name: Lint Code
on:
pull_request:
paths-ignore:
- '**/*.md'
- 'docs/**'
- 'src-tauri/**'
- 'CHANGELOG.md'
- 'LICENSE'
- '.github/workflows/build-desktop.yml'
- '.github/workflows/docker-publish.yml'
push:
branches: [main]
permissions:
contents: read
jobs:
biome:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
- run: npm ci
- run: npm run lint:unicode
- run: npm run lint
- run: npm run lint:boundaries
- name: Markdown lint
run: npm run lint:md
- name: Version sync check
run: npm run version:check