Skip to content

Bugfix/e2e speed

Bugfix/e2e speed #89

Workflow file for this run

name: Continuous Integration
on:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 2
show-progress: false
- name: Runner setup
uses: ./.github/actions/runner-setup
- name: Build
run: pnpm build
- name: Test
run: pnpm test
e2e:
# runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 2
show-progress: false
- name: Runner setup
uses: ./.github/actions/runner-setup
# - name: Setup Kadena sandbox
# uses: ./.github/actions/sandbox
- name: Build
run: pnpm build
env:
NODE_ENV: test
- name: Install browser
run: pnpm install:chromium
- name: End-to-end test
run: pnpm test:e2e
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30