fix(ct): ensure corepack is enabled before yarn/pnpm updates

Run setup_nodejs with corepack in update scripts that use bare package manager commands after corepack prepare.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
MickLesk
2026-06-21 22:00:32 +02:00
parent 16ea8eb8f6
commit 1363e5eab8
5 changed files with 10 additions and 0 deletions
+2
View File
@@ -30,6 +30,8 @@ function update_script() {
exit
fi
NODE_VERSION="24" NODE_MODULE="corepack" setup_nodejs
if check_for_gh_release "feishin" "jeffvli/feishin"; then
create_backup /opt/feishin/.env