chore: embed env. vars. for playwright actions
This commit is contained in:
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@@ -4,6 +4,7 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
pull_request:
|
pull_request:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
linter:
|
linter:
|
||||||
|
6
.github/workflows/playwright.yml
vendored
6
.github/workflows/playwright.yml
vendored
@@ -76,9 +76,9 @@ jobs:
|
|||||||
- name: Run Playwright tests
|
- name: Run Playwright tests
|
||||||
working-directory: ./packages/e2e-tests
|
working-directory: ./packages/e2e-tests
|
||||||
env:
|
env:
|
||||||
LOGIN_EMAIL: ${{ secrets.LOGIN_EMAIL }}
|
LOGIN_EMAIL: user@automatisch.io
|
||||||
LOGIN_PASSWORD: ${{ secrets.LOGIN_PASSWORD }}
|
LOGIN_PASSWORD: sample
|
||||||
BASE_URL: ${{ vars.E2E_BASE_URL }}
|
BASE_URL: http://localhost:3000
|
||||||
run: yarn test
|
run: yarn test
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
if: always()
|
if: always()
|
||||||
|
Reference in New Issue
Block a user