Skip to content

Vercel AI SDKを導入して各AIサービスの呼び出し処理を統一化 #69

Vercel AI SDKを導入して各AIサービスの呼び出し処理を統一化

Vercel AI SDKを導入して各AIサービスの呼び出し処理を統一化 #69

Workflow file for this run

name: Lint and Format
on:
pull_request:
types: [opened, synchronize]
jobs:
lint-and-format:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install dependencies
run: npm install
- name: Run ESLint
run: |
npm run lint
git add .
if ! git diff --exit-code; then
echo "ESLint changes detected. Please commit the changes."
exit 1
fi
- name: Run Prettier
run: |
npm run format
git add .
if ! git diff --exit-code; then
echo "Prettier changes detected. Please commit the changes."
exit 1
fi