Skip to content

Commit

Permalink
Add GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
krystof-k committed Sep 3, 2023
1 parent eeb7049 commit 6b970dc
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/e2e-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: End-to-end tests
on:
deployment_status:
jobs:
run-e2e-tests:
name: Run
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version-file: ./frontend/.nvmrc
- name: Install dependencies
run: |
npm ci
- name: Run end-to-end tests via Cypress
env:
PUBLIC_URL: ${{ github.event.deployment_status.target_url }}
run: |
npm run test-only

0 comments on commit 6b970dc

Please sign in to comment.