Files
CollabTable/.github/workflows/lint.yml
T
Gabriel20xx 62db511c7b
Tests / Go backend (push) Failing after 5s
Lint / Lint (push) Successful in 59s
Tests / Dashboard checks (push) Successful in 55s
chore(ci): remove empty env blocks from workflows
2026-10-20 22:23:52 +00: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: '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