add sync await/done

This commit is contained in:
Amruth Pillai
2022-12-16 16:46:26 +01:00
parent 2522bdd0a2
commit ab08cd9e34

View File

@ -2,7 +2,14 @@ tasks:
- name: Run PostgreSQL Database - name: Run PostgreSQL Database
command: docker run --name postgres -p 5432:5432 -e POSTGRES_PASSWORD=postgres -d postgres command: docker run --name postgres -p 5432:5432 -e POSTGRES_PASSWORD=postgres -d postgres
- name: Install Project Dependencies
command: |
pnpm install
pnpm dlx playwright install --with-deps chromium
gp sync-done dependencies
- name: Generate Environment Variables - name: Generate Environment Variables
init: gp sync-await dependencies
command: | command: |
if [ -f .env ]; then if [ -f .env ]; then
echo "Found .env in workspace, skipping generation" echo "Found .env in workspace, skipping generation"
@ -10,11 +17,6 @@ tasks:
pnpm generate-env pnpm generate-env
fi fi
- name: Install Project Dependencies
command: |
pnpm dlx playwright install --with-deps chromium
pnpm install
ports: ports:
# PostgreSQL # PostgreSQL
- port: 5432 - port: 5432