mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-07 14:08:38 +00:00
ci: use env vars instead of hard coded paths (#8389)
This commit is contained in:
7
.github/workflows/flaky-test-detector.yml
vendored
7
.github/workflows/flaky-test-detector.yml
vendored
@@ -40,8 +40,11 @@ jobs:
|
||||
- name: Install npm dependencies
|
||||
run: |
|
||||
npm ci --legacy-peer-deps
|
||||
sudo chown root /home/runner/work/bruno/bruno/node_modules/electron/dist/chrome-sandbox
|
||||
sudo chmod 4755 /home/runner/work/bruno/bruno/node_modules/electron/dist/chrome-sandbox
|
||||
CHROME_SANDBOX="${GITHUB_WORKSPACE}/node_modules/electron/dist/chrome-sandbox"
|
||||
if [[ -f "$CHROME_SANDBOX" ]]; then
|
||||
sudo chown root "$CHROME_SANDBOX"
|
||||
sudo chmod 4755 "$CHROME_SANDBOX"
|
||||
fi
|
||||
|
||||
- name: Install test collection dependencies
|
||||
run: npm ci --prefix packages/bruno-tests/collection
|
||||
|
||||
Reference in New Issue
Block a user