Skip to content

feat: Add E2E tests #16

feat: Add E2E tests

feat: Add E2E tests #16

Workflow file for this run

name: E2E Tests
on:
pull_request:
branches: [ main ]
defaults:
run:
shell: 'bash'
jobs:
test:
timeout-minutes: 60
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
- name: install
run: make install
- name: protoc
run: make protoc
- name: build
run: make build
env:
NODE_OPTIONS: "--max-old-space-size=8192"
MODE: production
E2E: true
E2E_WALLET: ${{ secrets.E2E_WALLET }}
- name: e2e
run: make test-creator-hub-e2e
env:
NODE_OPTIONS: "--max-old-space-size=8192"
E2E_NAME: ${{ secrets.E2E_NAME }}
E2E_PRIVATE_KEY: ${{ secrets.E2E_PRIVATE_KEY }}
E2E_EXPIRATION_MINUTES: 10
- name: Upload failure artifacts
if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: e2e-failures
path: |
test-results/**/*.png
test-results/**/*.webm
test-results/**/*.zip