File tree 2 files changed +2
-10
lines changed
.github/workflows/actions/test-and-build
2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 69
69
if : ${{ runner.os != 'Windows' }}
70
70
shell : bash
71
71
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
-
78
72
- name : Run Tests
79
- env :
80
- BROWSER_AUTH_COMMAND : ${{ env.BROWSER_AUTH_COMMAND }}
81
73
run : |
82
74
npm run test
83
75
shell : bash
Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ function hash(input: string): string {
31
31
}
32
32
33
33
// 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")` ;
36
36
37
37
const UNIQUE_TASK_ID =
38
38
process . env . GITHUB_RUN_ID && process . env . GITHUB_RUN_NUMBER
You can’t perform that action at this time.
0 commit comments