Files
2026-10-20 19:08:49 +08:00

16 lines
651 B
YAML

masterProfiles: ['','uat','prod']
Profiles: ['','dev']
jobConfigFile: "easygoadminConfig.yml"
npmCompileCMD: |
export PATH=/usr/local/node/bin:$PATH
set -e \
&& yarn config set registry https://registry.npmmirror.com \
&& yarn config get registry \
&& yarn config set strict-ssl false \
&& yarn config set sass_binary_site https://repo.huaweicloud.com/node-sass/node-sass \
&& rm -rf package-lock.json \
&& rm -rf node_modules/.cache 2>/dev/null || true \
&& yarn cache clean --force \
&& yarn global add node-gyp@10.3.1 \
&& yarn install --unsafe-perm --legacy-peer-deps --network-timeout 300000 \
&& yarn run build:${PROFILE}