Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

feat: Add GitHub Actions workflow for linting and TypeScript checks #1

feat: Add GitHub Actions workflow for linting and TypeScript checks

feat: Add GitHub Actions workflow for linting and TypeScript checks #1

Workflow file for this run

name: Lint and Type Check
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint-and-tsc:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci
working-directory: ./API
- name: Run ESLint
run: npx eslint .
working-directory: ./API
- name: Run TypeScript compiler
run: npx tsc --noEmit
working-directory: ./API