Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore(ci): move to setup v2 action (#16999)

Nimarc8207ff584d5
diff --git a/.agents/skills/turborepo/references/ci/github-actions.md b/.agents/skills/turborepo/references/ci/github-actions.md
index 1cdb34f33f..fc1037d27e 100644
--- a/.agents/skills/turborepo/references/ci/github-actions.md
+++ b/.agents/skills/turborepo/references/ci/github-actions.md
@@ -37,9 +37,10 @@ jobs:
### pnpm
```yaml
-- uses: pnpm/action-setup@v3
+- uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2
with:
- version: 9
+ install: false
+ cache: false
- uses: actions/setup-node@v4
with:
@@ -139,9 +140,10 @@ jobs:
with:
fetch-depth: 2
- - uses: pnpm/action-setup@v3
+ - uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2
with:
- version: 9
+ install: false
+ cache: false
- uses: actions/setup-node@v4
with:
diff --git a/.cursor/Dockerfile b/.cursor/Dockerfile
index f51ea16bd2..734ef335ed 100644
--- a/.cursor/Dockerfile
+++ b/.cursor/Dockerfile
@@ -40,7 +40,7 @@ RUN install -m 0755 -d /etc/apt/keyrings \
> /etc/apt/sources.list.d/nodesource.list \
&& apt-get update \
&& apt-get install -y --no-install-recommends nodejs \
- && npm install --global [email protected] \
+ && npm install --global [email protected] \
&& corepack enable \
&& corepack prepare [email protected] --activate \
&& rm -rf /var/lib/apt/lists/*
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
index c81d88ff0e..45226edca2 100644
--- a/.devcontainer/Dockerfile
+++ b/.devcontainer/Dockerfile
@@ -15,8 +15,10 @@ FROM mcr.microsoft.com/devcontainers/universal:6-noble
# Install golang-migrate for database migrations
COPY --from=migrate-builder /out/migrate /usr/local/bin/migrate
-# Activate the repo's pinned pnpm via Corepack
-RUN corepack enable && corepack prepare [email protected] --activate
+# Activate the repo's pinned pnpm through a Corepack release compatible with pnpm 12.
+RUN npm install --global [email protected] \
+ && corepack enable \
+ && corepack prepare [email protected] --activate
# Install Clickhouse
RUN curl https://clickhouse.com/ | sh && \
diff --git a/.github/aw/actions-lock.json b/.github/aw/actions-lock.json
index f8b93f3c35..d779aaf493 100644
--- a/.github/aw/actions-lock.json
+++ b/.github/aw/actions-lock.json
@@ -10,10 +10,10 @@
"version": "v0.86.2",
"sha": "6aab9e5b5c91c615506061f09bedd81a23babe3c"
},
- "pnpm/[email protected]": {
- "repo": "pnpm/action-setup",
- "version": "v6.0.9",
- "sha": "0ebf47130e4866e96fce0953f49152a61190b271"
+ "pnpm/[email protected]": {
+ "repo": "pnpm/setup",
+ "version": "v2.0.2",
+ "sha": "84cb39b217b10273981911c288cd62326dc7c6d2"
}
}
}
diff --git a/.github/workflows/api-spec-preview.yml b/.github/workflows/api-spec-preview.yml
index f79eb07218..25d1dee41d 100644
--- a/.github/workflows/api-spec-preview.yml
+++ b/.github/workflows/api-spec-preview.yml
@@ -56,9 +56,10 @@ jobs:
persist-credentials: false
- name: Setup pnpm
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
+ uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2
with:
- version: 11.22.0
+ install: false
+ cache: false
- name: Setup Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
diff --git a/.github/workflows/build-sandbox-microvm-image.yml b/.github/workflows/build-sandbox-microvm-image.yml
index 9efa357f73..694112e263 100644
--- a/.github/workflows/build-sandbox-microvm-image.yml
+++ b/.github/workflows/build-sandbox-microvm-image.yml
@@ -56,7 +56,10 @@ jobs:
persist-credentials: false
- name: Setup pnpm
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
+ uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2
+ with:
+ install: false
+ cache: false
- name: Setup Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
diff --git a/.github/workflows/ci.yml.template b/.github/workflows/ci.yml.template
index 4f15e1316f..92e5c1f610 100644
--- a/.github/workflows/ci.yml.template
+++ b/.github/workflows/ci.yml.template
@@ -28,9 +28,10 @@ jobs:
run: docker compose -f "docker-compose.yml" up -d --build
- name: Setup pnpm
- uses: pnpm/action-setup@739bfe42ca9233c5e6aca07c1a25a9d34aca49b0 # v6.0.7
+ uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2
with:
- version: 11.22.0
+ install: false
+ cache: false
- name: Setup Node 24
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
diff --git a/.github/workflows/dependabot-security-maintainer.lock.yml b/.github/workflows/dependabot-security-maintainer.lock.yml
index d5124a111d..2959831b06 100644
--- a/.github/workflows/dependabot-security-maintainer.lock.yml
+++ b/.github/workflows/dependabot-security-maintainer.lock.yml
@@ -1,5 +1,5 @@
-# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"8828f3665addc03043473c0075a659d1a08db0b84d7734d65d8a595c668a1c90","body_hash":"1fcc44799bf493c9ca238b328d63f75230e958de96cd0f771cc714add1244055","compiler_version":"v0.86.2","strict":true,"agent_id":"claude","agent_model":"claude-opus-5?effort=medium","engine_versions":{"claude":"2.1.227"}}
-# gh-aw-manifest: {"version":1,"secrets":["CLAUDE_API_KEY","COPILOT_GITHUB_TOKEN","GH_AW_GITHUB_MCP_SERVER_TOKEN","GH_AW_GITHUB_TOKEN","GITHUB_TOKEN"],"actions":[{"repo":"actions/cache/restore","sha":"55cc8345863c7cc4c66a329aec7e433d2d1c52a9","version":"v6.1.0"},{"repo":"actions/cache/save","sha":"55cc8345863c7cc4c66a329aec7e433d2d1c52a9","version":"v6.1.0"},{"repo":"actions/checkout","sha":"3d3c42e5aac5ba805825da76410c181273ba90b1","version":"v7.0.1"},{"repo":"actions/download-artifact","sha":"3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c","version":"v8.0.1"},{"repo":"actions/github-script","sha":"3a2844b7e9c422d3c10d287c895573f7108da1b3","version":"v9.0.0"},{"repo":"actions/setup-node","sha":"820762786026740c76f36085b0efc47a31fe5020","version":"v7.0.0"},{"repo":"actions/upload-artifact","sha":"043fb46d1a93c77aae656e7c1c64a875d1fc6a0a","version":"v7.0.1"},{"repo":"github/gh-aw-actions/setup","sha":"6aab9e5b5c91c615506061f09bedd81a23babe3c","version":"v0.86.2"},{"repo":"pnpm/action-setup","sha":"0ebf47130e4866e96fce0953f49152a61190b271","version":"v6.0.9"}],"containers":[{"image":"ghcr.io/github/gh-aw-firewall/agent:0.27.44","digest":"sha256:0d727725c737b58c7bdf51f640cffb928385ec46517e0917c7f1a02f1bada8b4","pinned_image":"ghcr.io/github/gh-aw-firewall/agent:0.27.44@sha256:0d727725c737b58c7bdf51f640cffb928385ec46517e0917c7f1a02f1bada8b4"},{"image":"ghcr.io/github/gh-aw-firewall/api-proxy:0.27.44","digest":"sha256:b50fbadba138f6e9aba94aca09711335c489bb3b15861220cb66f6092e042dc7","pinned_image":"ghcr.io/github/gh-aw-firewall/api-proxy:0.27.44@sha256:b50fbadba138f6e9aba94aca09711335c489bb3b15861220cb66f6092e042dc7"},{"image":"ghcr.io/github/gh-aw-firewall/squid:0.27.44","digest":"sha256:83e48bbe12c634be8c228a576832fe45f66c529ac3659db92bddbcf2eeb6d627","pinned_image":"ghcr.io/github/gh-aw-firewall/squid:0.27.44@sha256:83e48bbe12c634be8c228a576832fe45f66c529ac3659db92bddbcf2eeb6d627"},{"image":"ghcr.io/github/gh-aw-mcpg:v0.4.9","digest":"sha256:e5a1569aeaf41820fa7bdee3e94468cae448133cdbf00119ad24f5b74db1ab9f","pinned_image":"ghcr.io/github/gh-aw-mcpg:v0.4.9@sha256:e5a1569aeaf41820fa7bdee3e94468cae448133cdbf00119ad24f5b74db1ab9f"},{"image":"ghcr.io/github/gh-aw-node","digest":"sha256:0d9f1fb5fd6610c0ac1f5194a38e45a8a1e81f8a390d5142d8e4e6f26a4b3196","pinned_image":"ghcr.io/github/gh-aw-node@sha256:0d9f1fb5fd6610c0ac1f5194a38e45a8a1e81f8a390d5142d8e4e6f26a4b3196"},{"image":"ghcr.io/github/github-mcp-server:v1.9.0","digest":"sha256:881b53d6f75f69bdbc1b5b10fc2f1361717c19054143b3a8529fb5c32061a50e","pinned_image":"ghcr.io/github/github-mcp-server:v1.9.0@sha256:881b53d6f75f69bdbc1b5b10fc2f1361717c19054143b3a8529fb5c32061a50e"}]}
+# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"c4a703b2526cd21cd4011a0e048ff0c0c397386f20bb8bf656203fbc533e24f6","body_hash":"1fcc44799bf493c9ca238b328d63f75230e958de96cd0f771cc714add1244055","compiler_version":"v0.86.2","strict":true,"agent_id":"claude","agent_model":"claude-opus-5?effort=medium","engine_versions":{"claude":"2.1.227"}}
+# gh-aw-manifest: {"version":1,"secrets":["CLAUDE_API_KEY","COPILOT_GITHUB_TOKEN","GH_AW_GITHUB_MCP_SERVER_TOKEN","GH_AW_GITHUB_TOKEN","GITHUB_TOKEN"],"actions":[{"repo":"actions/cache/restore","sha":"55cc8345863c7cc4c66a329aec7e433d2d1c52a9","version":"v6.1.0"},{"repo":"actions/cache/save","sha":"55cc8345863c7cc4c66a329aec7e433d2d1c52a9","version":"v6.1.0"},{"repo":"actions/checkout","sha":"3d3c42e5aac5ba805825da76410c181273ba90b1","version":"v7.0.1"},{"repo":"actions/download-artifact","sha":"3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c","version":"v8.0.1"},{"repo":"actions/github-script","sha":"3a2844b7e9c422d3c10d287c895573f7108da1b3","version":"v9.0.0"},{"repo":"actions/setup-node","sha":"820762786026740c76f36085b0efc47a31fe5020","version":"v7.0.0"},{"repo":"actions/upload-artifact","sha":"043fb46d1a93c77aae656e7c1c64a875d1fc6a0a","version":"v7.0.1"},{"repo":"github/gh-aw-actions/setup","sha":"6aab9e5b5c91c615506061f09bedd81a23babe3c","version":"v0.86.2"},{"repo":"pnpm/setup","sha":"84cb39b217b10273981911c288cd62326dc7c6d2","version":"v2.0.2"}],"containers":[{"image":"ghcr.io/github/gh-aw-firewall/agent:0.27.44","digest":"sha256:0d727725c737b58c7bdf51f640cffb928385ec46517e0917c7f1a02f1bada8b4","pinned_image":"ghcr.io/github/gh-aw-firewall/agent:0.27.44@sha256:0d727725c737b58c7bdf51f640cffb928385ec46517e0917c7f1a02f1bada8b4"},{"image":"ghcr.io/github/gh-aw-firewall/api-proxy:0.27.44","digest":"sha256:b50fbadba138f6e9aba94aca09711335c489bb3b15861220cb66f6092e042dc7","pinned_image":"ghcr.io/github/gh-aw-firewall/api-proxy:0.27.44@sha256:b50fbadba138f6e9aba94aca09711335c489bb3b15861220cb66f6092e042dc7"},{"image":"ghcr.io/github/gh-aw-firewall/squid:0.27.44","digest":"sha256:83e48bbe12c634be8c228a576832fe45f66c529ac3659db92bddbcf2eeb6d627","pinned_image":"ghcr.io/github/gh-aw-firewall/squid:0.27.44@sha256:83e48bbe12c634be8c228a576832fe45f66c529ac3659db92bddbcf2eeb6d627"},{"image":"ghcr.io/github/gh-aw-mcpg:v0.4.9","digest":"sha256:e5a1569aeaf41820fa7bdee3e94468cae448133cdbf00119ad24f5b74db1ab9f","pinned_image":"ghcr.io/github/gh-aw-mcpg:v0.4.9@sha256:e5a1569aeaf41820fa7bdee3e94468cae448133cdbf00119ad24f5b74db1ab9f"},{"image":"ghcr.io/github/gh-aw-node","digest":"sha256:0d9f1fb5fd6610c0ac1f5194a38e45a8a1e81f8a390d5142d8e4e6f26a4b3196","pinned_image":"ghcr.io/github/gh-aw-node@sha256:0d9f1fb5fd6610c0ac1f5194a38e45a8a1e81f8a390d5142d8e4e6f26a4b3196"},{"image":"ghcr.io/github/github-mcp-server:v1.9.0","digest":"sha256:881b53d6f75f69bdbc1b5b10fc2f1361717c19054143b3a8529fb5c32061a50e","pinned_image":"ghcr.io/github/github-mcp-server:v1.9.0@sha256:881b53d6f75f69bdbc1b5b10fc2f1361717c19054143b3a8529fb5c32061a50e"}]}
# This file was automatically generated by gh-aw (v0.86.2). DO NOT EDIT. To debug this workflow, load the skill at https://github.com/github/gh-aw/blob/main/debug.md
#
# ___ _ _
@@ -42,7 +42,7 @@
# - actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
# - actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
# - github/gh-aw-actions/setup@6aab9e5b5c91c615506061f09bedd81a23babe3c # v0.86.2
-# - pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
+# - pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2
#
# Container images used:
# - ghcr.io/github/gh-aw-firewall/agent:0.27.44@sha256:0d727725c737b58c7bdf51f640cffb928385ec46517e0917c7f1a02f1bada8b4
@@ -434,10 +434,11 @@ jobs:
name: activation
path: /tmp/gh-aw
- name: Setup pnpm
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
+ uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2
with:
+ cache: false
dest: ${{ runner.temp }}/gh-aw/pnpm
- run_install: false
+ install: false
- env:
ALERTS_PATH: /tmp/gh-aw/agent/dependabot-alerts.json
GH_TOKEN: ${{ github.token }}
diff --git a/.github/workflows/dependabot-security-maintainer.md b/.github/workflows/dependabot-security-maintainer.md
index a2e7bd5af8..f33fb1fd64 100644
--- a/.github/workflows/dependabot-security-maintainer.md
+++ b/.github/workflows/dependabot-security-maintainer.md
@@ -59,10 +59,11 @@ tools:
steps:
- name: Setup pnpm
- uses: pnpm/[email protected]
+ uses: pnpm/[email protected]
with:
dest: ${{ runner.temp }}/gh-aw/pnpm
- run_install: false
+ install: false
+ cache: false
- name: Fetch open npm Dependabot alerts
env:
diff --git a/.github/workflows/openapi-export-check.yml b/.github/workflows/openapi-export-check.yml
index 2ac55c8052..01e2552c29 100644
--- a/.github/workflows/openapi-export-check.yml
+++ b/.github/workflows/openapi-export-check.yml
@@ -44,9 +44,10 @@ jobs:
run: bash scripts/openapi/assert-generated-current.test.sh
- name: Install pnpm
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
+ uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2
with:
- version: 11.22.0
+ install: false
+ cache: false
- name: Setup Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml
index d41d54df8d..0710bcdc47 100644
--- a/.github/workflows/pipeline.yml
+++ b/.github/workflows/pipeline.yml
@@ -113,9 +113,10 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- - uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
+ - uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2
with:
- version: 11.22.0
+ install: false
+ cache: false
- name: Use Node.js ${{ env.NODE_VERSION }} without cache
if: env.CI_CACHE_ALLOWED != 'true'
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
@@ -179,9 +180,10 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- - uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
+ - uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2
with:
- version: 11.22.0
+ install: false
+ cache: false
- name: Use Node.js ${{ env.NODE_VERSION }} without cache
if: env.CI_CACHE_ALLOWED != 'true'
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
@@ -214,9 +216,10 @@ jobs:
with:
fetch-depth: 0
persist-credentials: false
- - uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
+ - uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2
with:
- version: 11.22.0
+ install: false
+ cache: false
- name: Use Node.js ${{ env.NODE_VERSION }} without cache
if: env.CI_CACHE_ALLOWED != 'true'
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
@@ -276,9 +279,10 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- - uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
+ - uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2
with:
- version: 11.22.0
+ install: false
+ cache: false
- name: Use Node.js ${{ env.NODE_VERSION }} without cache
if: env.CI_CACHE_ALLOWED != 'true'
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
@@ -313,9 +317,10 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- - uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
+ - uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2
with:
- version: 11.22.0
+ install: false
+ cache: false
- name: Use Node.js ${{ env.NODE_VERSION }} without cache
if: env.CI_CACHE_ALLOWED != 'true'
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
@@ -360,9 +365,10 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- - uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
+ - uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2
with:
- version: 11.22.0
+ install: false
+ cache: false
- name: Use Node.js ${{ env.NODE_VERSION }} without cache
if: env.CI_CACHE_ALLOWED != 'true'
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
@@ -430,9 +436,10 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- - uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
+ - uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2
with:
- version: 11.22.0
+ install: false
+ cache: false
- name: Use Node.js ${{ env.NODE_VERSION }} without cache
if: env.CI_CACHE_ALLOWED != 'true'
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
@@ -621,9 +628,10 @@ jobs:
sudo mv migrate /usr/bin/migrate
touch /tmp/migrate-installed
) > /tmp/migrate-install.log 2>&1 &
- - uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
+ - uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2
with:
- version: 11.22.0
+ install: false
+ cache: false
- name: Login to Docker Hub
if: github.repository == 'langfuse/langfuse' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
@@ -766,9 +774,10 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- - uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
+ - uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2
with:
- version: 11.22.0
+ install: false
+ cache: false
- name: Use Node.js ${{ env.NODE_VERSION }} without cache
if: env.CI_CACHE_ALLOWED != 'true'
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
@@ -816,9 +825,10 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- - uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
+ - uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2
with:
- version: 11.22.0
+ install: false
+ cache: false
- name: Login to Docker Hub
if: github.repository == 'langfuse/langfuse' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
@@ -908,9 +918,10 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- - uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
+ - uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2
with:
- version: 11.22.0
+ install: false
+ cache: false
- name: Login to Docker Hub
if: github.repository == 'langfuse/langfuse' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
@@ -990,9 +1001,10 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- - uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
+ - uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2
with:
- version: 11.22.0
+ install: false
+ cache: false
- name: Use Node.js ${{ env.NODE_VERSION }} without cache
if: env.CI_CACHE_ALLOWED != 'true'
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
@@ -1119,9 +1131,10 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME_READ }}
password: ${{ secrets.DOCKERHUB_TOKEN_READ }}
- - uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
+ - uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2
with:
- version: 11.22.0
+ install: false
+ cache: false
- name: Use Node.js ${{ env.NODE_VERSION }} without cache
if: env.CI_CACHE_ALLOWED != 'true'
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
diff --git a/.github/workflows/sdk-api-spec.yml b/.github/workflows/sdk-api-spec.yml
index 08e5ee1920..a9c658fcd9 100644
--- a/.github/workflows/sdk-api-spec.yml
+++ b/.github/workflows/sdk-api-spec.yml
@@ -33,9 +33,10 @@ jobs:
persist-credentials: false
- name: Install pnpm
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
+ uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2
with:
- version: 11.22.0
+ install: false
+ cache: false
# Keep this secret-bearing job cache-cold to avoid exposing Fern
# credentials to potentially poisoned shared package-manager state.
@@ -159,7 +160,6 @@ jobs:
# Install dependencies and format
corepack enable
- corepack prepare [email protected] --activate
pnpm install
pnpm format
diff --git a/.github/workflows/storybook-preview.yml b/.github/workflows/storybook-preview.yml
index 1bd583b3db..a890166038 100644
--- a/.github/workflows/storybook-preview.yml
+++ b/.github/workflows/storybook-preview.yml
@@ -52,9 +52,10 @@ jobs:
persist-credentials: false
- name: Setup pnpm
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
+ uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2
with:
- version: 11.22.0
+ install: false
+ cache: false
- name: Setup Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
diff --git a/.github/workflows/warm-caches.yml b/.github/workflows/warm-caches.yml
index 648cc68bf3..fccfcfbb3a 100644
--- a/.github/workflows/warm-caches.yml
+++ b/.github/workflows/warm-caches.yml
@@ -63,7 +63,10 @@ jobs:
# package.json, so pnpm bumps that update pipeline.yml cannot strand
# this satellite workflow on a mismatched pin (which hard-fails the
# action, as a previous partially pinned pnpm bump did).
- - uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
+ - uses: pnpm/setup@84cb39b217b10273981911c288cd62326dc7c6d2 # v2.0.2
+ with:
+ install: false
+ cache: false
- name: Use Node.js ${{ env.NODE_VERSION }} with pnpm cache
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # zizmor: ignore[cache-poisoning] scheduled cache warmer for test-job dependency caches only; runs on main, no released artifacts are built or published from this cached state
with:
diff --git a/scripts/agents/setup.sh b/scripts/agents/setup.sh
index 39e988ee98..61f0d13546 100755
--- a/scripts/agents/setup.sh
+++ b/scripts/agents/setup.sh
@@ -19,7 +19,6 @@ if ! command -v corepack >/dev/null 2>&1; then
fi
corepack enable
-corepack prepare [email protected] --activate
ensure_env_file .env .env.dev.example
ensure_env_file .env.test .env.test.example
diff --git a/scripts/codex/maintenance.sh b/scripts/codex/maintenance.sh
index 5d5b63a04c..f9c703eaea 100755
--- a/scripts/codex/maintenance.sh
+++ b/scripts/codex/maintenance.sh
@@ -8,7 +8,6 @@ if ! command -v corepack >/dev/null 2>&1; then
fi
corepack enable
-corepack prepare [email protected] --activate
pnpm install --frozen-lockfile
diff --git a/scripts/codex/maintenance_cloud.sh b/scripts/codex/maintenance_cloud.sh
index 4955dc66bd..05493bf481 100755
--- a/scripts/codex/maintenance_cloud.sh
+++ b/scripts/codex/maintenance_cloud.sh
@@ -8,7 +8,6 @@ if ! command -v corepack >/dev/null 2>&1; then
fi
corepack enable
-corepack prepare [email protected] --activate
# shellcheck source=/dev/null
source "$(dirname "${BASH_SOURCE[0]}")/cloud_services.sh"
diff --git a/scripts/codex/setup_cloud.sh b/scripts/codex/setup_cloud.sh
index d9d1e98af2..4801a59e60 100755
--- a/scripts/codex/setup_cloud.sh
+++ b/scripts/codex/setup_cloud.sh
@@ -19,7 +19,6 @@ if ! command -v corepack >/dev/null 2>&1; then
fi
corepack enable
-corepack prepare [email protected] --activate
ensure_env_file .env .env.dev.example
ensure_env_file .env.test .env.test.example
diff --git a/web/Dockerfile b/web/Dockerfile
index cdff85da58..ee4f5f95c5 100644
--- a/web/Dockerfile
+++ b/web/Dockerfile
@@ -10,8 +10,9 @@ FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine AS build-base
RUN npm install [email protected] --global
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
-RUN corepack enable
-RUN corepack prepare [email protected] --activate
+RUN npm install --global [email protected] \
+ && corepack enable \
+ && corepack prepare [email protected] --activate
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine AS runtime-base
# Remove build-only package managers. npm stays here because the runner stage
diff --git a/worker/Dockerfile b/worker/Dockerfile
index d6dd6c5dfe..8258cb2c4a 100644
--- a/worker/Dockerfile
+++ b/worker/Dockerfile
@@ -10,8 +10,9 @@ FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine AS build-base
RUN npm install [email protected] --global
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
-RUN corepack enable
-RUN corepack prepare [email protected] --activate
+RUN npm install --global [email protected] \
+ && corepack enable \
+ && corepack prepare [email protected] --activate
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine AS runtime-base
# package managers and build-only CLIs only increase exposure to CVEs -> remove them