Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

ci(platform): pin pnpm via pnpm/action-setup before setup-node (#13025)

Ubbefac2c2a67431
diff --git a/.github/workflows/platform-fullstack-ci.yml b/.github/workflows/platform-fullstack-ci.yml
index 605c13c38b..ab7ed0c138 100644
--- a/.github/workflows/platform-fullstack-ci.yml
+++ b/.github/workflows/platform-fullstack-ci.yml
@@ -33,8 +33,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v6
- - name: Enable corepack
- run: corepack enable
+ - name: Set up pnpm
+ uses: pnpm/action-setup@v4
+ with:
+ package_json_file: autogpt_platform/frontend/package.json
- name: Set up Node
uses: actions/setup-node@v6
@@ -91,8 +93,10 @@ jobs:
# ------------------------ Frontend setup ------------------------
- - name: Set up Frontend - Enable corepack
- run: corepack enable
+ - name: Set up Frontend - Set up pnpm
+ uses: pnpm/action-setup@v4
+ with:
+ package_json_file: autogpt_platform/frontend/package.json
- name: Set up Frontend - Set up Node
uses: actions/setup-node@v6
@@ -279,8 +283,10 @@ jobs:
echo "✅ Database dump created for caching ($(wc -l < /tmp/e2e_test_data.sql) lines)"
- - name: Set up tests - Enable corepack
- run: corepack enable
+ - name: Set up tests - Set up pnpm
+ uses: pnpm/action-setup@v4
+ with:
+ package_json_file: autogpt_platform/frontend/package.json
- name: Set up tests - Set up Node
uses: actions/setup-node@v6