Skip to content

fix: fixed lint error #7

fix: fixed lint error

fix: fixed lint error #7

Workflow file for this run

name: ⚙️ CI - LeetCode JS Prep
on:
push:
branches: [main]
pull_request:
branches:
- '**'
jobs:
build-and-test:
name: 🧪 Lint, Format & Run
runs-on: ubuntu-latest
steps:
- name: 📥 Checkout repository
uses: actions/checkout@v4
- name: 🔧 Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: ⬇️ Enable pnpm
run: corepack enable && corepack prepare pnpm@latest --activate
- name: 📦 Install dependencies
run: pnpm install --no-frozen-lockfile
- name: 🔍 Run ESLint
run: pnpm lint
- name: 🎨 Check Prettier formatting
run: pnpm format
- name: 🏗️ Build project
run: pnpm build
- name: 🚀 Run start command
run: pnpm start