Skip to content

Commit

Permalink
fix(github): removes doubledash from pnpm script args
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrebb committed Jan 13, 2024
1 parent 9dc8e14 commit 677591a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions _ci/_utils/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
pnpm build

0 comments on commit 677591a

Please sign in to comment.