fix corepack prompt
This commit is contained in:
parent
9c1b350b94
commit
0c76bfaf44
@ -49,7 +49,9 @@ function update_script() {
|
||||
set -a && source /opt/affine/.env && set +a
|
||||
|
||||
$STD corepack enable
|
||||
export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
|
||||
$STD corepack prepare yarn@stable --activate
|
||||
$STD yarn config set enableTelemetry 0
|
||||
$STD yarn install
|
||||
$STD yarn build
|
||||
msg_ok "Rebuilt Application"
|
||||
|
||||
@ -61,7 +61,9 @@ export PATH="/root/.cargo/bin:$PATH"
|
||||
set -a && source /opt/affine/.env && set +a
|
||||
|
||||
$STD corepack enable
|
||||
export COREPACK_ENABLE_DOWNLOAD_PROMPT=0
|
||||
$STD corepack prepare yarn@stable --activate
|
||||
$STD yarn config set enableTelemetry 0
|
||||
$STD yarn install
|
||||
$STD yarn build
|
||||
msg_ok "Built AFFiNE"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user