17 lines
678 B
YAML
17 lines
678 B
YAML
masterProfiles: ['','uat','prod']
|
|
Profiles: ['','dev']
|
|
jobConfigFile: "djangoadminConfig.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 node_modules \
|
|
&& 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} |