Skip to content

Add frontend linting on the CI pipeline #4

Add frontend linting on the CI pipeline

Add frontend linting on the CI pipeline #4

on:
pull_request:
push:
paths:
- '*.tsx?'
jobs:
frontend:
name: Linting
working-directory: frontend

Check failure on line 10 in .github/workflows/frontend-linting.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/frontend-linting.yml

Invalid workflow file

The workflow is not valid. .github/workflows/frontend-linting.yml (Line: 10, Col: 5): Unexpected value 'working-directory'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
- name: Install dependencies
run:
npm ci
- name: Run linting
run:
npm run lint