File tree Expand file tree Collapse file tree
global-template/docgen/test/fixtures 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'
3938 working-directory : global-template/docgen
4039 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
5840 - name : Installer dry run
5941 run : node install.mjs --dry-run --no-link-cli
6042 - name : Upload exact CI source
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ if (!Number.isFinite(maxTurns) || maxTurns < 30) {
99 process . exit ( 8 ) ;
1010}
1111
12- const prompt = fs . readFileSync ( 0 , 'utf8' ) ;
12+ const prompt = fs . readFileSync ( 0 , 'utf8' ) . replace ( / \r \n ? / g , '\n' ) ;
1313const stage = process . env . DOCGEN_STAGE ;
1414const cwd = process . cwd ( ) ;
1515const tick = String . fromCharCode ( 96 ) ;
You can’t perform that action at this time.
0 commit comments