From d47d5dd8193badef258cd308d270a41727925b39 Mon Sep 17 00:00:00 2001 From: Amruth Pillai Date: Fri, 16 Dec 2022 16:52:37 +0100 Subject: [PATCH] build and run project finally, in gitpod --- .gitpod.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index 17e88e71..7e4623f7 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -6,16 +6,23 @@ tasks: command: | pnpm install pnpm dlx playwright install --with-deps chromium - gp sync-done dependencies + gp sync-done deps - name: Generate Environment Variables - init: gp sync-await dependencies + init: gp sync-await deps command: | if [ -f .env ]; then echo "Found .env in workspace, skipping generation" else pnpm generate-env fi + gp sync-done env + + - name: Build and Run Project + init: gp sync-await env + command: | + pnpm build + pnpm start ports: # PostgreSQL