ai-coding
2026-08-20 8ffaad6d2d69a81ace44177580bfca2610be858f
1
2
3
4
5
6
7
8
9
10
11
12
#! /bin/sh
 
# 需要加入
. ~/.profile
 
SASS_BINARY_SITE=https://npm.taobao.org/mirrors/node-sass/ npm install --registry=http://npm.xiaopeng.local:7001
 
export CICD_STATIC_PATH=$(echo $CICD_STATIC_PATH) && NODE_OPTIONS="--max-old-space-size=4096" npm run build
if [ $? != 0 ];then
    echo "build error"
    exit 1
fi