ai-coding
2026-08-19 2fec9b032fb2aa4e600ba0c63ab4b974dd191e14
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