tweak: scripts
make them use trubo make them do npm i -g pnpm make them pnpm i before install
This commit is contained in:
parent
9283fe71e8
commit
22a66bd92a
2 changed files with 7 additions and 3 deletions
7
stage.sh
7
stage.sh
|
|
@ -8,5 +8,8 @@
|
|||
|
||||
SOURCE_DIR=$1
|
||||
|
||||
cd "$1" || { echo "Can't cd 😓 - code $?"; exit; }
|
||||
git fetch --all && git branch "backup-$(date +'%s')" && git checkout -f origin/main && turbo build
|
||||
npm i -g pnpm && pnpm setup || { echo "Can't npm 😓 - code $?"; exit; }
|
||||
cd "$SOURCE_DIR" || { echo "Can't cd 😓 - code $?"; exit; }
|
||||
git fetch --all && git branch "backup-$(date +'%s')" \
|
||||
&& git checkout -f origin/main \
|
||||
&& pnpm i && turbo build
|
||||
Loading…
Add table
Add a link
Reference in a new issue