mirror of
https://github.com/sveltejs/ai-tools.git
synced 2026-07-09 14:19:38 +08:00
38 lines
712 B
YAML
38 lines
712 B
YAML
name: Type Check
|
|
|
|
on:
|
|
push:
|
|
branches: [main, redesign]
|
|
pull_request:
|
|
branches: [main]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Setup pnpm
|
|
uses: pnpm/action-setup@v4
|
|
with:
|
|
version: 10.27.0
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v6
|
|
with:
|
|
node-version: '24'
|
|
cache: 'pnpm'
|
|
|
|
- name: Install dependencies
|
|
run: pnpm i
|
|
|
|
- name: Run type check
|
|
run: pnpm run check
|
|
env:
|
|
DATABASE_URL: file:test.db
|
|
DATABASE_TOKEN: dummy-key
|
|
VOYAGE_API_KEY: dummy-key
|