diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 24c4f45..4fb9b0b 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -15,7 +15,7 @@ jobs: node-version: lts/* - name: Install dependencies run: | - which sudo || apt-get update && apt-get install sudo + command -v sudo || apt-get update && apt-get install sudo sudo apt-get update sudo apt-get install -y jq xdg-utils xvfb curled=$(curl -L https://github.com/obsidianmd/obsidian-releases/raw/refs/heads/master/desktop-releases.json | jq .latestVersion | sed s/\"//g)