Skip to content

Add swagger functions to utilities #26

Add swagger functions to utilities

Add swagger functions to utilities #26

Workflow file for this run

name: Lint and Type Check
on:
pull_request:
branches:
- main
- release/**
- epic/**
push:
branches:
- main
- release/**
- epic/**
workflow_call:
jobs:
lint:
name: Lint and Type Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Generate Prisma Client
run: npm run generate:static
- name: Build packages
run: npm run build
- name: Run Prettier check
run: npm run prettier
env:
PRETTIER_IGNORE_PATTERN: '**/dist/**'
- name: Run ESLint
run: npm run lint
env:
ESLINT_IGNORE_PATTERN: '**/dist/**'
- name: Run TypeScript check
run: npm run typecheck
env:
TS_IGNORE_PATTERN: '**/dist/**'