[e2e] e2e tests #38
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: e2e tests | |
on: | |
pull_request: | |
branches: | |
- develop | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.base_ref }}-${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
e2e-tests: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '18.x' | |
cache: 'yarn' | |
cache-dependency-path: | | |
**/yarn.lock | |
- name: 'Build' | |
run: | | |
yarn | |
yarn --cwd uui-e2e-tests test-e2e-deps-install | |
yarn build | |
cd server && yarn | |
- name: 'Run e2e tests' | |
run: yarn --cwd uui-e2e-tests test-e2e | |
- name: 'Upload e2e HTML report' | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: e2e-html-report | |
path: ./uui-e2e-tests/tests/.report/report | |
retention-days: 1 |