Skip to content

chore: default HB mainnet endpoints (Forward) #9

chore: default HB mainnet endpoints (Forward)

chore: default HB mainnet endpoints (Forward) #9

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
desktop-tests:
runs-on: ubuntu-latest
defaults:
run:
working-directory: desktop
strategy:
fail-fast: false
matrix:
suite:
- name: smoke
command: npm run test:smoke -- --project=chromium --reporter=line -- tests/smoke.spec.ts
- name: vault
command: npm run test:smoke -- --project=chromium --reporter=line -- tests/vault.spec.ts
- name: ao
command: npm run test:smoke -- --project=chromium --reporter=line -- tests/ao.spec.ts
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: desktop/package-lock.json
- name: Install deps
run: npm ci
- name: Install Playwright (chromium)
run: npx playwright install --with-deps chromium
- name: Run ${{ matrix.suite.name }} tests
run: ${{ matrix.suite.command }}
- name: Upload bundle report (if present)
if: always()
uses: actions/upload-artifact@v4
with:
name: bundle-report
path: desktop/dist/renderer/bundle-report.html
if-no-files-found: ignore