You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/llm-bundle.yml
+21-23Lines changed: 21 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -4,26 +4,26 @@ on:
4
4
push:
5
5
branches: [ main ]
6
6
paths:
7
-
- 'cookbook/docs/**'
8
-
- 'cookbook/Toolkit/**'
9
-
- 'cookbook/static/**'
10
-
- 'cookbook/sidebars.ts'
11
-
- 'cookbook/toolkitSidebars.ts'
12
-
- 'cookbook/scripts/generate-llm.js'
13
-
- 'cookbook/package.json'
14
-
- 'cookbook/package-lock.json'
15
-
- 'cookbook/.github/workflows/llm-bundle.yml'
7
+
- 'docs/**'
8
+
- 'Toolkit/**'
9
+
- 'static/**'
10
+
- 'sidebars.ts'
11
+
- 'toolkitSidebars.ts'
12
+
- 'scripts/generate-llm.js'
13
+
- 'package.json'
14
+
- 'package-lock.json'
15
+
- '.github/workflows/llm-bundle.yml'
16
16
pull_request:
17
17
paths:
18
-
- 'cookbook/docs/**'
19
-
- 'cookbook/Toolkit/**'
20
-
- 'cookbook/static/**'
21
-
- 'cookbook/sidebars.ts'
22
-
- 'cookbook/toolkitSidebars.ts'
23
-
- 'cookbook/scripts/generate-llm.js'
24
-
- 'cookbook/package.json'
25
-
- 'cookbook/package-lock.json'
26
-
- 'cookbook/.github/workflows/llm-bundle.yml'
18
+
- 'docs/**'
19
+
- 'Toolkit/**'
20
+
- 'static/**'
21
+
- 'sidebars.ts'
22
+
- 'toolkitSidebars.ts'
23
+
- 'scripts/generate-llm.js'
24
+
- 'package.json'
25
+
- 'package-lock.json'
26
+
- '.github/workflows/llm-bundle.yml'
27
27
workflow_dispatch:
28
28
29
29
jobs:
@@ -35,17 +35,15 @@ jobs:
35
35
with:
36
36
node-version: 20
37
37
cache: 'npm'
38
-
cache-dependency-path: cookbook/package-lock.json
38
+
cache-dependency-path: ./package-lock.json
39
39
- run: npm ci
40
-
working-directory: cookbook
41
40
- run: npm run generate-llm
42
-
working-directory: cookbook
43
41
- name: Ensure llm.txt is committed
44
42
run: |
45
-
git diff --stat --exit-code cookbook/llm.txt || (echo "::error ::llm.txt is out of date. Run 'npm run generate-llm' in cookbook/, add cookbook/llm.txt, and commit/push the change." && exit 1)
43
+
git diff --stat --exit-code llm.txt || (echo "::error ::llm.txt is out of date. Run 'npm run generate-llm', add llm.txt, and commit/push the change." && exit 1)
0 commit comments