diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4258ec2..ad4cf30 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,12 +56,13 @@ jobs: known_hosts: ${{ secrets.KNOWN_HOSTS }} - run: | - ssh ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} << 'EOF' + set -e + ssh -tt ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} << 'EOF' set -e - whoami + echo "Node version: $(node -v)" + corepack enable + corepack prepare pnpm@latest --activate cd /opt/modes - git fetch - git reset --hard origin/main pnpm install pnpm nx run-many --target=build --all pnpm prisma db push --schema apps/api/prisma/schema.prisma