mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-13 00:03:27 +10:00
build and run project finally, in gitpod
This commit is contained in:
11
.gitpod.yml
11
.gitpod.yml
@ -6,16 +6,23 @@ tasks:
|
|||||||
command: |
|
command: |
|
||||||
pnpm install
|
pnpm install
|
||||||
pnpm dlx playwright install --with-deps chromium
|
pnpm dlx playwright install --with-deps chromium
|
||||||
gp sync-done dependencies
|
gp sync-done deps
|
||||||
|
|
||||||
- name: Generate Environment Variables
|
- name: Generate Environment Variables
|
||||||
init: gp sync-await dependencies
|
init: gp sync-await deps
|
||||||
command: |
|
command: |
|
||||||
if [ -f .env ]; then
|
if [ -f .env ]; then
|
||||||
echo "Found .env in workspace, skipping generation"
|
echo "Found .env in workspace, skipping generation"
|
||||||
else
|
else
|
||||||
pnpm generate-env
|
pnpm generate-env
|
||||||
fi
|
fi
|
||||||
|
gp sync-done env
|
||||||
|
|
||||||
|
- name: Build and Run Project
|
||||||
|
init: gp sync-await env
|
||||||
|
command: |
|
||||||
|
pnpm build
|
||||||
|
pnpm start
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
# PostgreSQL
|
# PostgreSQL
|
||||||
|
|||||||
Reference in New Issue
Block a user