Skip to content

Fix flaky test in login.test.ts (normalizes CLI login origins and preserves the allowlist) #2

Fix flaky test in login.test.ts (normalizes CLI login origins and preserves the allowlist)

Fix flaky test in login.test.ts (normalizes CLI login origins and preserves the allowlist) #2

Workflow file for this run

name: temp_103_test_ci
on: pull_request
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: jdx/mise-action@v4
with:
cache: true
experimental: true
log_level: ${{ runner.debug == '1' && 'trace' || 'info' }}
- run: mise build && mise check
env:
MISE_LOG_LEVEL: ${{ runner.debug == '1' && 'trace' || 'info' }}
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- uses: jdx/mise-action@v4
with:
cache: true
experimental: true
log_level: ${{ runner.debug == '1' && 'trace' || 'info' }}
- run: mise run build:server
env:
MISE_LOG_LEVEL: ${{ runner.debug == '1' && 'trace' || 'info' }}
LOGTAPE_TEST_MODE: ${{ runner.debug == '1' && 'always' || 'on-failure' }}
LOGTAPE_TEST_LOWEST_LEVEL: ${{ runner.debug == '1' && 'trace' || 'debug' }}
- run: mise exec -- node --test packages/drfed/src/login.test.ts
env:
MISE_LOG_LEVEL: ${{ runner.debug == '1' && 'trace' || 'info' }}
LOGTAPE_TEST_MODE: ${{ runner.debug == '1' && 'always' || 'on-failure' }}
LOGTAPE_TEST_LOWEST_LEVEL: ${{ runner.debug == '1' && 'trace' || 'debug' }}