From f93c1bb4258e48b59f0fbb2d9d64a332c6aeb205 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?= =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= Date: Thu, 24 Oct 2024 15:59:19 -0400 Subject: [PATCH] check for sudo in workflow --- .github/workflows/playwright.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 39b0f68..24c4f45 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -15,6 +15,7 @@ jobs: node-version: lts/* - name: Install dependencies run: | + which 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)