Files
CollabTable/.github/workflows/lint.yml
T
Gabriel20xx 94d52c7622
Lint / Lint (push) Successful in 1m5s
Tests / Go backend (push) Failing after 1m17s
Docker / Docker Build & Push (push) Failing after 4m28s
Tests / Dashboard checks (push) Successful in 1m6s
chore: clean up backend code and build shared deps in CI
2026-10-20 19:31:16 +00:00

53 lines
1015 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
npm run build --prefix ../shared
npm ci
- name: Run ESLint
run: npm run lint