fix: scripts
remove 'or' clauses as they seem to cause the job to be labeled as success even when it's a failure
This commit is contained in:
parent
53f5048707
commit
13e98087c9
2 changed files with 12 additions and 12 deletions
4
stage.sh
4
stage.sh
|
|
@ -8,8 +8,8 @@
|
|||
|
||||
SOURCE_DIR=$1
|
||||
|
||||
npm i -g pnpm && pnpm setup && pnpm i -g turbo || { echo "Can't install node dependencies 😓 - code $?"; exit $?; }
|
||||
cd "$SOURCE_DIR" || { echo "Can't cd 😓 - code $?"; exit $?; }
|
||||
npm i -g pnpm && pnpm setup && pnpm i -g turbo
|
||||
cd "$SOURCE_DIR"
|
||||
git fetch --all && git branch "backup-$(date +'%s')" \
|
||||
&& git checkout -f origin/main \
|
||||
&& pnpm i && npx turbo build
|
||||
Loading…
Add table
Add a link
Reference in a new issue