Files
copilotkit__copilotkit/.github/workflows/static_danger.yml

41 lines
955 B
YAML

name: static / danger
on:
pull_request:
paths:
- "sdk-python/copilotkit/langgraph_agent.py"
- "packages/sdk-js/src/langgraph.ts"
env:
NX_VERBOSE_LOGGING: true
NX_CI_EXECUTION_ID: ${{ github.head_ref }}-${{ github.sha }}-${{ github.run_attempt }}
NX_CI_EXECUTION_ENV: "Danger"
jobs:
danger:
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 ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
cache-dependency-path: "**/pnpm-lock.yaml"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run Danger
run: pnpm exec danger ci
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}