Skip to content

Commit 6e8b23f

Browse files
JohnMcLearclaude
andcommitted
ci: configure pnpm to allow build scripts
pnpm 10.7+ requires explicit approval for package build scripts via onlyBuiltDependencies. Add config step to CI workflows to allow all build scripts (matching pre-10.7 behavior) so that pnpm/action-setup v6 works correctly. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 02a1fc3 commit 6e8b23f

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/backend-tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ jobs:
5151
working-directory: ./etherpad-lite
5252
run: rm -rf ./src/tests/backend/specs
5353
-
54+
- name: Configure pnpm to allow build scripts
55+
working-directory: ./etherpad-lite
56+
run: pnpm config --location=project set onlyBuiltDependencies '*'
5457
name: Install Etherpad core dependencies
5558
working-directory: ./etherpad-lite
5659
run: bin/installDeps.sh

.github/workflows/frontend-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ jobs:
5555
run: |
5656
mv ./node_modules/__tmp ./node_modules/"${PLUGIN_NAME}"
5757
-
58+
- name: Configure pnpm to allow build scripts
59+
run: pnpm config --location=project set onlyBuiltDependencies '*'
5860
name: Install plugin dependencies
5961
env:
6062
PLUGIN_NAME: ${{ steps.plugin_name.outputs.plugin_name }}

0 commit comments

Comments
 (0)