Skip to content

Commit 373ce41

Browse files
committed
Setup chrome explicitly in GitHub action.
Fix "No usable sandbox" on Ubuntu >= 23.10
1 parent 2d3ae6a commit 373ce41

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/typescript-code-analysis.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,17 @@ jobs:
7878
working-directory: graph-visualization
7979
run: npm ci
8080

81+
- name: Setup Chrome for Graph Visualization
82+
uses: browser-actions/setup-chrome@v1
83+
id: setup-chrome
84+
with:
85+
install-chromedriver: true
86+
- name: Info about Chrome for Graph Visualization
87+
run: |
88+
echo "chrome-path: ${{ steps.setup-chrome.outputs.chrome-path }}"
89+
${{ steps.setup-chrome.outputs.chrome-path }} --version
90+
export CHROME_DEVEL_SANDBOX=${{ steps.setup-chrome.outputs.chrome-path }}
91+
8192
- name: Setup Cache for Conda package manager Miniforge
8293
uses: actions/cache@v4
8394
env:

0 commit comments

Comments
 (0)