check for sudo in workflow
Some checks failed
Playwright Tests / test (push) Failing after 8s

This commit is contained in:
parent ce877c8c41
commit 36ad10f8ca
Signed by: tablet
GPG Key ID: 924A5F6AF051E87C

@ -15,6 +15,7 @@ jobs:
node-version: lts/* node-version: lts/*
- name: Install dependencies - name: Install dependencies
run: | run: |
which sudo || apt-get install sudo
sudo apt-get update sudo apt-get update
sudo apt-get install -y jq xdg-utils xvfb 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) curled=$(curl -L https://github.com/obsidianmd/obsidian-releases/raw/refs/heads/master/desktop-releases.json | jq .latestVersion | sed s/\"//g)