File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed
.github/workflows/actions/test-and-build Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 6969 if : ${{ runner.os != 'Windows' }}
7070 shell : bash
7171
72- - name : Set BROWSER_AUTH_COMMAND
73- run : |
74- BROWSER_AUTH_COMMAND=$(echo "$(which node) $(pwd)/src/test/fixture/curl.js")
75- echo "BROWSER_AUTH_COMMAND=$BROWSER_AUTH_COMMAND" >> $GITHUB_ENV
76- shell : bash
77-
7872 - name : Run Tests
79- env :
80- BROWSER_AUTH_COMMAND : ${{ env.BROWSER_AUTH_COMMAND }}
8173 run : |
8274 npm run test
8375 shell : bash
Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ function hash(input: string): string {
3131}
3232
3333// Need to be provided via CI env because we can't get a hold for node.js exec
34- // path in our tests - they run inside a vscode process
35- const browserShellCommand = process . env . BROWSER_AUTH_COMMAND ;
34+ // path in our tests - they run inside a vscode process in the built dir.
35+ const browserShellCommand = `$(echo "$(which node) ${ __dirname } /../../../src/test/fixture/curl.js")` ;
3636
3737const UNIQUE_TASK_ID =
3838 process . env . GITHUB_RUN_ID && process . env . GITHUB_RUN_NUMBER
You can’t perform that action at this time.
0 commit comments