Skip to content

Commit

Permalink
ci(workflow): use npm instead of npx for capture-website-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
ccamel committed Nov 19, 2023
1 parent 4e5f860 commit 526fd0b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/capture-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,13 @@ jobs:
# don't use cache as it may interfere with other jobs
# cache: npm

- name: Install global dependencies
run: |
npm install --global [email protected]
- name: Screenshot Website
run: |
npx capture-website[email protected] \
capture-website \
--type webp \
--quality=0.7 \
--launch-options='{"headless": "new"}' \
Expand Down

0 comments on commit 526fd0b

Please sign in to comment.