Skip to content

Update lint.yml

Update lint.yml #7

Workflow file for this run

name: Formatter, linter & type checker
on:
push:
branches: ["main"]
pull_request:
# The branches below must be a subset of the branches above
branches: ["main"]
jobs:
codeCheck:
name: Run eslint scanning
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: npm ci
- name: Run Prettier
run: npm run prettier
- name: Run ESLint
run: npm run lint
- name: TypeScript check
run: npm run tsc