From 23cdf2dc78c984d93f6ee92117163e3d877df0e9 Mon Sep 17 00:00:00 2001 From: Chris Date: Sun, 19 Nov 2023 17:16:47 +0100 Subject: [PATCH] ci(workflow): use npm instead of npx for capture-website-cli --- .github/workflows/capture-website.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/capture-website.yml b/.github/workflows/capture-website.yml index 34cec9c4f3d..e3d51317c1d 100644 --- a/.github/workflows/capture-website.yml +++ b/.github/workflows/capture-website.yml @@ -37,7 +37,8 @@ jobs: - name: Screenshot Website run: | - npx capture-website-cli@4.0.0 \ + npm install --global capture-website-cli@4.0.0 + capture-website \ --type webp \ --quality=0.7 \ --launch-options='{"headless": "new"}' \