stacker.news/.platform/hooks/prebuild/00_build.sh

16 lines
224 B
Bash
Executable File

#!/usr/bin/env bash
echo installing yarn
sudo npm install yarn -g
echo link yarn
sudo ln -s "$(npm bin --global)"/yarn /usr/bin/yarn
echo install
yarn install
echo gen primsa client
prisma generate
echo build
yarn build