forked from CopilotKit/CopilotKit
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (28 loc) · 797 Bytes
/
static_danger.yml
File metadata and controls
35 lines (28 loc) · 797 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: static
on:
pull_request:
paths:
- "sdk-python/copilotkit/langgraph_agent.py"
- "src/v1.x/packages/sdk-js/src/langgraph.ts"
jobs:
danger:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: "9.5"
- 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 }}