Repository navigation
Fix flaky test in login.test.ts (normalizes CLI login origins and preserves the allowlist)
#2
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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' }} |