Skip to content

fix: Apply Prettier formatting to ai-sdk files #8

fix: Apply Prettier formatting to ai-sdk files

fix: Apply Prettier formatting to ai-sdk files #8

Workflow file for this run

name: Code Quality
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
name: ESLint & Prettier
runs-on: ubuntu-latest
steps:
- name: Checkout code repository
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Setup node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run ESLint
run: pnpm eslint
- name: Run Prettier
run: pnpm prettier
# This will fail the workflow if Prettier has warnings
- name: Run Tests
run: pnpm test