Skip to content

Scrum 168 frontend code quality check #2

Scrum 168 frontend code quality check

Scrum 168 frontend code quality check #2

Workflow file for this run

name: Lint and Format Check
on:
pull_request:
paths:
- "**/*.js"
- "**/*.jsx"
- "**/*.ts"
- "**/*.tsx"
- "**/*.css"
- "**/*.scss"
jobs:
lint-format:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: npm install
- name: Run Prettier
run: npm run format -- --check
- name: Run ESLint
run: npm run lint