Files
tacticalrmm-web/.github/workflows/frontend-linting.yml
2023-09-30 21:57:37 +00:00

24 lines
443 B
YAML

name: Frontend Linting and Formatting
on:
push:
branches: [develop]
pull_request:
branches: [develop]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm install
- name: Run Prettier formatting
run: npm run format
- name: Run ESLint
run: npm run lint -- --max-warnings=0