Skip to content

Commit fdc0e2c

Browse files
committed
Fix pnpm setup in direct build environment
Add corepack enable and pnpm setup to direct build step to resolve 'pnpm: command not found' error when use-container is false
1 parent e5df852 commit fdc0e2c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/actions/build-native-binaries/action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ runs:
3434
export npm_config_arch=arm64
3535
export npm_config_target_arch=arm64
3636
fi
37+
# Set up pnpm environment for direct build
38+
corepack enable
39+
corepack use pnpm@latest
3740
pnpm run install:native
3841
3942
- name: Build native module (Container)

0 commit comments

Comments
 (0)