chore(ci): fix prepare dist (#5214)
This commit is contained in:
parent
607ad06971
commit
73f37c2477
@ -1,11 +1,11 @@
|
|||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
yarn --pure-lockfile
|
yarn --pure-lockfile
|
||||||
app=${1:-trading}
|
app=${1:-trading}
|
||||||
envCmd="envCmd="yarn env-cmd -f ./apps/${app}/.env.${2:-mainnet}"
|
envCmd="envCmd="yarn -f ./apps/${app}/.env.${2:-mainnet}"
|
||||||
yarn install
|
yarn install
|
||||||
if [ "${app}" = "trading" ]; then
|
if [ "${app}" = "trading" ]; then
|
||||||
$envCmd yarn nx export trading
|
$envCmd yarn nx export trading
|
||||||
DIST_LOCATION=dist/apps/trading/exported
|
DIST_LOCATION=dist/apps/trading/exported/
|
||||||
else
|
else
|
||||||
$envCmd yarn nx build ${app}
|
$envCmd yarn nx build ${app}
|
||||||
DIST_LOCATION=dist/apps/${app}
|
DIST_LOCATION=dist/apps/${app}
|
||||||
|
Loading…
Reference in New Issue
Block a user