fix: stage.sh

tweak order of things
This commit is contained in:
nikomiko 2026-02-08 19:33:37 -05:00
parent 227df50f31
commit edd17ce8b4

View file

@ -10,8 +10,9 @@ SOURCE_DIR=$1
source ~/.bashrc # make sure NPM commands etc are available
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
git fetch --all && git branch "backup-$(date +'%s')"
npm i -g pnpm && pnpm setup && pnpm i -g turbo \
&& git checkout -f origin/main \
&& pnpm i && npx turbo build