From 677591a1df3195c05530de290208dd3ed03aa6bb Mon Sep 17 00:00:00 2001 From: Dan Grebb Date: Sat, 13 Jan 2024 18:47:55 -0500 Subject: [PATCH] fix(github): removes doubledash from pnpm script args --- .github/workflows/test-lighthouse.yml | 4 ++-- _ci/_utils/build.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-lighthouse.yml b/.github/workflows/test-lighthouse.yml index ce42f2cc0..d14a0c104 100644 --- a/.github/workflows/test-lighthouse.yml +++ b/.github/workflows/test-lighthouse.yml @@ -78,8 +78,8 @@ jobs: undurl=$(echo "$u" | sed -E 's|https?://([^/]+)(/[^?#]*)?([?#]?.*)?|\2|;s|/+$||;s|/|_|g') automation_url="${u}?roboto" echo "Running Lighthouse on $u and writing report to ./$undurl" - pnpm lhgh $automation_url -- --output-path ./mobile_"$undurl"report.html --disable-extensions --force-prefers-reduced-motion - pnpm lhgh-d $automation_url -- --output-path ./desktop_"$undurl"report.html --disable-extensions --force-prefers-reduced-motion + pnpm lhgh $automation_url --output-path ./mobile_"$undurl"report.html --disable-extensions --force-prefers-reduced-motion + pnpm lhgh-d $automation_url --output-path ./desktop_"$undurl"report.html --disable-extensions --force-prefers-reduced-motion done <<<"$urls" - name: ⚓️ Drop Anchor diff --git a/_ci/_utils/build.sh b/_ci/_utils/build.sh index ecc8aeed5..6fca35ae0 100755 --- a/_ci/_utils/build.sh +++ b/_ci/_utils/build.sh @@ -2,6 +2,6 @@ printf "\033[0;33mInstalling Node packages...\033[0m\n" cd front -npm ci +pnpm i printf "\033[0;32mBuilding...\033[0m\n" -npm run build \ No newline at end of file +pnpm build