File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed
Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -81,26 +81,21 @@ jobs:
8181 version : 10.33.0
8282
8383 - name : Clone langfuse server
84- id : clone-server
8584 run : |
86- git clone https://github.com/langfuse/langfuse.git ./langfuse-server
87- echo "sha=$(cd ./langfuse-server && git rev-parse HEAD)" >> "$GITHUB_OUTPUT"
85+ git clone https://github.com/langfuse/langfuse.git ./langfuse-server && echo $(cd ./langfuse-server && git rev-parse HEAD)
8886
8987 - name : Setup node (for langfuse server)
9088 uses : actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
9189 with :
9290 node-version : 24
9391
94- # Cache the pnpm store (download cache) instead of node_modules directly.
95- # Caching node_modules skips postinstall hooks (e.g. prisma generate),
96- # which leads to stale generated artifacts that don't match the current schema.
97- - name : Cache pnpm store
92+ - name : Cache langfuse server dependencies
9893 uses : actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5
9994 with :
100- path : ~/.local/share/pnpm/store/v3
101- key : pnpm-store -${{ steps.clone -server.outputs.sha }}
95+ path : ./langfuse-server/node_modules
96+ key : langfuse-serve -${{ hashFiles('langfuse -server/pnpm-lock.yaml') }}
10297 restore-keys : |
103- pnpm-store -
98+ langfuse-serve -
10499
105100 - name : Run langfuse server
106101 run : |
You can’t perform that action at this time.
0 commit comments