Files
CollabTable/.github/workflows/lint.yml
T
Gabriel20xx 88d1f77d30
Tests / Dashboard checks (push) Failing after 14s
Lint / Lint (push) Successful in 22s
Tests / Go backend (push) Successful in 21s
Docker / Docker Build & Push (push) Failing after 19m28s
Fix shared design-token Docker build
2026-08-09 20:38:49 +02:00

52 lines
983 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: {}
env:
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: '20'
cache: 'npm'
cache-dependency-path: frontend/package-lock.json
- name: Install dependencies
run: |
npm ci --prefix ../shared --ignore-scripts --no-audit --no-fund --omit=dev
npm ci
- name: Run ESLint
run: npm run lint