test: moved logic to Router.tsx #10801
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: push | |
jobs: | |
test: | |
permissions: write-all | |
timeout-minutes: 35 | |
runs-on: ubuntu-latest-m | |
env: | |
TZKT_SYNC_IMAGE: bakingbad/tzkt-sync:1.14.5 | |
TZKT_API_IMAGE: serjonya/tzkt-api:1.14.5-linux | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Pull docker images | |
run: docker compose pull --quiet & | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9.9.0 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
cache: "pnpm" | |
- run: pnpm install | |
- name: Install Playwright browser | |
run: pnpm --filter=./apps/desktop-e2e exec playwright install chromium --with-deps | |
- run: pnpm test:e2e | |
- name: Cucumber Report to Annotations | |
uses: deblockt/[email protected] | |
if: always() | |
with: | |
access-token: ${{ secrets.GITHUB_TOKEN }} | |
path: "apps/desktop-e2e/test-results/cucumber-report.json" | |
show-global-summary-report: true | |
- uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: cucumber-report | |
path: apps/desktop-e2e/test-results/cucumber-report.html | |
retention-days: 10 |