File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 working-directory : global-template/docgen
3636 run : npm run check
3737 - name : Unit and integration tests
38+ if : runner.os != 'Windows'
3839 working-directory : global-template/docgen
3940 run : npm test
41+ - name : Unit and integration tests with diagnostics
42+ if : runner.os == 'Windows'
43+ shell : pwsh
44+ working-directory : global-template/docgen
45+ run : |
46+ $output = & npm test 2>&1
47+ $code = $LASTEXITCODE
48+ $output | Tee-Object -FilePath windows-test-output.txt
49+ exit $code
50+ - name : Upload Windows test diagnostics
51+ if : always() && runner.os == 'Windows'
52+ uses : actions/upload-artifact@v4
53+ with :
54+ name : windows-test-output
55+ if-no-files-found : error
56+ retention-days : 1
57+ path : global-template/docgen/windows-test-output.txt
4058 - name : Installer dry run
4159 run : node install.mjs --dry-run --no-link-cli
4260 - name : Upload exact CI source
You can’t perform that action at this time.
0 commit comments