add e2e tests

This commit is contained in:
Simon Larsen
2024-04-25 11:53:11 +01:00
parent 6e2d343264
commit 8acfb0f798

22
.github/workflows/test.e2e.yaml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: E2E Tests
on:
pull_request:
push:
branches-ignore:
- 'hotfix-*' # excludes hotfix branches
- 'release'
jobs:
test:
runs-on: ubuntu-latest
env:
CI_PIPELINE_ID: ${{github.run_number}}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 18.3.0
- run: npm run dev
- run: cd E2E && npm install && npm run test