Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

♻️ Use env to set environment variables in pipeline (#1256)

Luke Vellabb04eafdef73
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 7e75bcf93..08d954ccc 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -49,6 +49,9 @@ jobs:
integration-tests:
name: Integration tests
runs-on: ubuntu-latest
+ env:
+ DATABASE_URL: postgresql://postgres:postgres@localhost:5450/rallly
+ STRIPE_SECRET_KEY: ${{ secrets.STRIPE_SECRET_KEY }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-node
@@ -61,11 +64,6 @@ jobs:
- name: Install playwright dependencies
run: yarn playwright install --with-deps chromium
- - name: Set environment variables
- run: |
- echo "DATABASE_URL=postgresql://postgres:postgres@localhost:5450/rallly" >> $GITHUB_ENV
- echo "STRIPE_SECRET_KEY=${{ secrets.STRIPE_SECRET_KEY }}" >> $GITHUB_ENV
-
- name: Create production build
run: yarn turbo build:test --filter=@rallly/web