Skip to content

Commit 8774c10

Browse files
committed
fix: repair CI workflows and lockfile consistency
- Fix workflow step ordering: pnpm/action-setup must come before setup-node with cache: pnpm in all three test workflows - Add rag-api/package-lock.json to the repo (was gitignored) so Docker npm ci has a lockfile to work with, matching rag-ui setup - Remove package-lock.json from rag-api/.gitignore - Update pnpm-lock.yaml and rag-api/package-lock.json after removing the unused turndown dependency Made-with: Cursor
1 parent 602e42d commit 8774c10

6 files changed

Lines changed: 10907 additions & 32 deletions

File tree

.github/workflows/test-backend.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,17 @@ jobs:
3737
- name: Checkout code
3838
uses: actions/checkout@v4
3939

40+
- name: Setup pnpm
41+
uses: pnpm/action-setup@v4
42+
with:
43+
version: 10
44+
4045
- name: Setup Node.js
4146
uses: actions/setup-node@v4
4247
with:
4348
node-version: '20'
4449
cache: 'pnpm'
4550

46-
- name: Setup pnpm
47-
uses: pnpm/action-setup@v4
48-
with:
49-
version: 10
50-
5151
- name: Install dependencies
5252
run: pnpm install --frozen-lockfile
5353

.github/workflows/test-frontend.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@ jobs:
2222
- name: Checkout code
2323
uses: actions/checkout@v4
2424

25+
- name: Setup pnpm
26+
uses: pnpm/action-setup@v4
27+
with:
28+
version: 10
29+
2530
- name: Setup Node.js
2631
uses: actions/setup-node@v4
2732
with:
2833
node-version: '20'
2934
cache: 'pnpm'
3035

31-
- name: Setup pnpm
32-
uses: pnpm/action-setup@v4
33-
with:
34-
version: 10
35-
3636
- name: Install dependencies
3737
run: pnpm install --frozen-lockfile
3838

.github/workflows/test-learning.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@ jobs:
2525
- name: Checkout code
2626
uses: actions/checkout@v4
2727

28+
- name: Setup pnpm
29+
uses: pnpm/action-setup@v4
30+
with:
31+
version: 10
32+
2833
- name: Setup Node.js
2934
uses: actions/setup-node@v4
3035
with:
3136
node-version: '20'
3237
cache: 'pnpm'
3338

34-
- name: Setup pnpm
35-
uses: pnpm/action-setup@v4
36-
with:
37-
version: 10
38-
3939
- name: Install dependencies
4040
run: pnpm install --frozen-lockfile
4141

pnpm-lock.yaml

Lines changed: 0 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rag-api/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# Dependencies
22
node_modules/
3-
package-lock.json
43

54
# Build output
65
dist/

0 commit comments

Comments
 (0)