Skip to content

🐛 Type 'Props' does not satisfy the constraint 'PageProps' (generateM… #13

🐛 Type 'Props' does not satisfy the constraint 'PageProps' (generateM…

🐛 Type 'Props' does not satisfy the constraint 'PageProps' (generateM… #13

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
name: Run ESLint
runs-on: ubuntu-latest
steps:
# Step 1: Checkout the code
- name: Checkout repository
uses: actions/checkout@v3
# Step 2: Set up Node.js (Make sure to use the version your project requires)
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20' # Use the Node.js version you are using for the Next.js project
# Step 3: Install dependencies
- name: Install dependencies
run: npm install
# Step 4: Run ESLint
- name: Run ESLint
run: npm run lint