Files
CollabTable/.github/workflows/lint.yml
T
Gabriel20xx cf468ed833
Lint / Lint (push) Successful in 1m23s
Security / Secrets (gitleaks) (push) Successful in 3m7s
Security / Dependencies (Trivy) (push) Successful in 1m48s
Security / Code (Semgrep) (push) Successful in 3m20s
Tests / Dashboard checks (push) Failing after 1m42s
Tests / Go backend (push) Successful in 2m54s
Docker / Docker Build & Push (push) Successful in 10m7s
chore: upgrade frontend stack and CI to Node 22
- Pin SvelteKit, adapter-static, and Svelte versions
- Refresh the frontend lockfile
2026-11-17 13:16:02 +01:00

52 lines
1010 B
YAML

name: Lint
on:
push:
branches:
- "**"
paths:
- 'backend/**'
- 'frontend/**'
- '.github/workflows/lint.yml'
pull_request:
branches:
- main
- master
paths:
- 'backend/**'
- 'frontend/**'
- '.github/workflows/lint.yml'
workflow_dispatch: {}
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: false
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
cache-dependency-path: frontend/package-lock.json
- name: Install dependencies
run: |
npm ci --prefix ../shared --ignore-scripts --no-audit --no-fund
npm run build --prefix ../shared
npm ci
- name: Run ESLint
run: npm run lint