Skip to content

disable an error in the use-toast hook #22

disable an error in the use-toast hook

disable an error in the use-toast hook #22

Workflow file for this run

name: React TypeScript Linting
on:
push:
branches-ignore: ["main"]
paths:
- "client/**"
pull_request:
branches: ["main"]
paths:
- "client/**"
jobs:
lint:
runs-on: ubuntu-latest
defaults:
run:
working-directory: client
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"
cache-dependency-path: client/package-lock.json
- name: Install dependencies
run: npm ci
- name: Type check
run: npx tsc --noEmit
- name: Run ESLint
run: npm run lint
- name: Build application
run: npm run build