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 in frontend CI (#13026)

Ubbe3c5d15a5d614
diff --git a/.github/workflows/platform-frontend-ci.yml b/.github/workflows/platform-frontend-ci.yml
index 850760fcdd..52341d8c92 100644
--- a/.github/workflows/platform-frontend-ci.yml
+++ b/.github/workflows/platform-frontend-ci.yml
@@ -46,8 +46,10 @@ jobs:
components:
- 'autogpt_platform/frontend/src/components/**'
- - 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
@@ -67,8 +69,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
@@ -98,8 +102,10 @@ jobs:
with:
fetch-depth: 0
- - 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
@@ -130,8 +136,10 @@ jobs:
with:
submodules: recursive
- - 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