Skip to content

Refractor/UI

Refractor/UI #1695

Workflow file for this run

# Runs the frontend linter, Prettier and ESLint
name: TSLint
on:
push:
branches:
- prod
- develop
- feature/dark-mode-timetable
pull_request:
branches:
- prod
- develop
- feature/dark-mode-timetable
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14
cache: "npm"
- name: Install Dependencies
run: npm install
- name: Run Prettier
run: npx prettier "**/*.{js,jsx,ts,tsx}" --check
- name: Run ESLint
run: npx eslint . --ext .js,.jsx,.ts,.tsx --max-warnings 0