Skip to content

Commit

Permalink
Added env vars globally
Browse files Browse the repository at this point in the history
  • Loading branch information
praveen5959 committed Nov 15, 2024
1 parent 8f1623c commit 0305fb4
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
env:
PORT: 3001
VITE_PARSEABLE_URL: https://demo.parseable.com
VITE_BASIC_AUTH: true
VITE_USERNAME: admin
VITE_PASSWORD: admin
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand All @@ -21,10 +27,17 @@ jobs:
run: pnpm run dev &
env:
PORT: 3001
VITE_PARSEABLE_URL: 'https://demo.parseable.com'
VITE_PARSEABLE_URL: https://demo.parseable.com
VITE_BASIC_AUTH: true
VITE_USERNAME: admin
VITE_PASSWORD: admin
- name: Echo
run: |
echo "PORT: $PORT"
echo "VITE_PARSEABLE_URL: $VITE_PARSEABLE_URL"
echo "VITE_BASIC_AUTH: $VITE_BASIC_AUTH"
echo "VITE_USERNAME: $VITE_USERNAME"
echo "VITE_PASSWORD: $VITE_PASSWORD"
- name: Run Playwright tests
run: pnpm exec playwright test
- uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 0305fb4

Please sign in to comment.