Skip to content

Feature/jss 105 refactor auth services from elysia to express #3

Feature/jss 105 refactor auth services from elysia to express

Feature/jss 105 refactor auth services from elysia to express #3

Workflow file for this run

name: E2E - Naga (matrix)
on:
push:
branches: [naga, canary-naga]
pull_request:
jobs:
e2e:
name: E2E (${{ matrix.network }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- environment: naga-dev
network: naga-dev
privateKey: LIVE_MASTER_ACCOUNT_NAGA_DEV
- environment: naga-staging
network: naga-staging
privateKey: LIVE_MASTER_ACCOUNT_NAGA_STAGING
- environment: naga-test
network: naga-test
privateKey: LIVE_MASTER_ACCOUNT_NAGA_TEST
env:
LOCAL_MASTER_ACCOUNT: ${{ secrets.LOCAL_MASTER_ACCOUNT }}
LOG_LEVEL: debug2
# Dynamic lookup of the right secret by matrix entry
LIVE_MASTER_ACCOUNT: ${{ secrets[matrix.privateKey] }}
steps:
# ==================== Base Env Setup (shared) ====================
- name: Checkout
uses: actions/checkout@v4
- name: Install rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rust-std
- name: Install wasm-pack
uses: jetli/[email protected]
with:
version: latest
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22.18.0
registry-url: https://registry.npmjs.org
- name: Enable corepack + pin pnpm
run: |
corepack enable
corepack prepare [email protected] --activate
- name: Install Dependencies
run: pnpm install --frozen-lockfile
# ==================== Run Build (shared) ====================
- name: Build
run: pnpm build
# ==================== Run Tests (varies by matrix) ====================
- name: Run health check (${{ matrix.network }})
run: NETWORK=${{ matrix.network }} pnpm run test:e2e:ci all
timeout-minutes: 10