Skip to content

Make DocGen audit token-safe and harden model artifact recovery #284

Make DocGen audit token-safe and harden model artifact recovery

Make DocGen audit token-safe and harden model artifact recovery #284

Workflow file for this run

name: Windows diagnostic
on:
pull_request:
permissions:
contents: read
jobs:
windows-test:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 24
- name: Syntax check
working-directory: global-template/docgen
run: npm run check
- name: Unit and integration tests with concise failure output
working-directory: global-template/docgen
shell: pwsh
run: |
npm test *> test-output.log
$exitCode = $LASTEXITCODE
if ($exitCode -ne 0) {
Write-Host '=== FAILURE CONTEXT ==='
Select-String -Path test-output.log -Pattern 'not ok|AssertionError|ERR_ASSERTION|error:|failureType|expected:|actual:' -Context 4,12
exit $exitCode
}
Get-Content test-output.log -Tail 30