diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 02cfb79..65a6ef8 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -15,8 +15,8 @@ jobs: node-version: lts/* - name: Install dependencies run: | - apt-get update - apt-get install -y jq xdg-utils xvfb + 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) curl -Lo obsidian.deb "https://github.com/obsidianmd/obsidian-releases/releases/download/v$curled/obsidian_${curled}_amd64.deb" corepack enable