Skip to content

Commit

Permalink
Added e2e-test workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
rmanaem committed Feb 8, 2024
1 parent af69e55 commit da8b8a3
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/e2e-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: end to end tests

on:
push:
branches:
- main
pull_request:
workflow_dispatch:

jobs:
e2e-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up node env
uses: actions/[email protected]

- name: Create .env file
run: |
echo -e "API_QUERY_URL=${{ vars.API_QUERY_URL }}\nIS_FEDERATION_API=${{ vars.IS_FEDERATION_API }}" > .env
- name: Run end to end tests
uses: cypress-io/github-action@v6
with:
wait-on: http://localhost:5173
start: npx vite --host
component: false

0 comments on commit da8b8a3

Please sign in to comment.