Skip to content

v7 reconciliation + Action protocol + Account App + 2FA #53

v7 reconciliation + Action protocol + Account App + 2FA

v7 reconciliation + Action protocol + Account App + 2FA #53

Workflow file for this run

name: Integration Tests
on:
pull_request:
branches: [main, develop]
push:
branches: [main, develop]
# Allow manual trigger
workflow_dispatch:
permissions:
contents: read
jobs:
integration:
name: Server Integration Tests
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 10
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
# Install app + CLI dependencies
- name: Install dependencies
run: pnpm install
# Start the ObjectStack CLI server (server/integration stack) in background
- name: Start integration server
run: ./scripts/start-integration-server.sh --bg
env:
PORT: 4000
AUTH_SECRET: integration-secret-please-change-min-32-chars
# Wait for server readiness
- name: Wait for server
run: ./scripts/wait-for-server.sh http://localhost:4000/api/v1/auth/get-session 60
# Run integration tests
- name: Run integration tests
run: pnpm test:integration:server
env:
INTEGRATION_SERVER_URL: http://localhost:4000
# Stop server
- name: Stop integration server
if: always()
run: ./scripts/stop-integration-server.sh