Make sonarcloud happier (#33466)

* Remove manual npm update in workflow

It is no longer necessary

* Use already installed deps over npx

* Make pnpm work under sudo in workflow

* Make pnpm work under sudo in workflow v2
This commit is contained in:
Michael Telatynski
2026-05-26 08:33:45 +01:00
committed by GitHub
parent 384db1faaf
commit 629f80fa13
3 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -170,7 +170,7 @@ jobs:
run: |
set -e
BUNDLE_HASH=$(npx asar l webapp.asar | grep /bundles/ | head -n 1 | sed 's|.*/||')
BUNDLE_HASH=$(pnpm exec asar l webapp.asar | grep /bundles/ | head -n 1 | sed 's|.*/||')
WEBAPP_VERSION=$(./scripts/get-version.ts)
WEB_VERSION=${WEBAPP_VERSION:0:12}
JS_VERSION=${WEBAPP_VERSION:16:12}