mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
08e356df74
These 8 workflows install uv but never invoke it. Only e2e_dojo.yml actually needs uv (the dojo scripts use uv sync/run for Python agents). Removing the unnecessary step saves CI time and reduces confusion.
101 lines
2.2 KiB
YAML
101 lines
2.2 KiB
YAML
name: static / quality
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths-ignore:
|
|
- "docs/**"
|
|
- "README.md"
|
|
- "examples/**"
|
|
- ".github/workflows/demos_preview.yml"
|
|
- ".github/workflows/release.yml"
|
|
- "packages/v1/**/package.json"
|
|
- "packages/v1/**/CHANGELOG.md"
|
|
- ".changeset/**"
|
|
pull_request:
|
|
branches: [main]
|
|
paths-ignore:
|
|
- "docs/**"
|
|
- "README.md"
|
|
- "examples/**"
|
|
- ".changeset/**"
|
|
|
|
env:
|
|
NODE_OPTIONS: "--max-old-space-size=4096"
|
|
NX_CI_EXECUTION_ID: ${{ github.head_ref }}-${{ github.sha }}-${{ github.run_attempt }}
|
|
NX_CI_EXECUTION_ENV: "Static Quality"
|
|
|
|
jobs:
|
|
prettier:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Setup pnpm
|
|
uses: pnpm/action-setup@v4
|
|
with:
|
|
version: "10.13.1"
|
|
|
|
- name: Use Node.js 20
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 20.x
|
|
cache: "pnpm"
|
|
cache-dependency-path: "**/pnpm-lock.yaml"
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install --frozen-lockfile
|
|
|
|
- name: Run Prettier check
|
|
run: pnpm run check-prettier
|
|
|
|
eslint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Setup pnpm
|
|
uses: pnpm/action-setup@v4
|
|
with:
|
|
version: "10.13.1"
|
|
|
|
- name: Use Node.js 20
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 20.x
|
|
cache: "pnpm"
|
|
cache-dependency-path: "**/pnpm-lock.yaml"
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install --frozen-lockfile
|
|
|
|
- name: Run ESLint check
|
|
run: pnpm run lint
|
|
|
|
package-quality:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Setup pnpm
|
|
uses: pnpm/action-setup@v4
|
|
with:
|
|
version: "10.13.1"
|
|
|
|
- name: Use Node.js 20
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 20.x
|
|
cache: "pnpm"
|
|
cache-dependency-path: "**/pnpm-lock.yaml"
|
|
|
|
- name: Install dependencies
|
|
run: pnpm install --frozen-lockfile
|
|
|
|
- name: Run publint and attw
|
|
run: pnpm run check:packages
|