Skip to content

Commit

Permalink
core: Install Chromium in GH action
Browse files Browse the repository at this point in the history
Fix an issue in the "Deploy to GitHub Pages" action by adding a step to
explicitly install Chromium.

The prerendering step using Puppeteer was hanging indefinitely. There
may have been a problem with the automatic downloading of Chromium, or
it may have been an incompatability (as previously seen when developing
on Apple silicon). Either way, manually installing Chromium via apt
appears to resolve the issue.
  • Loading branch information
al committed Aug 25, 2024
1 parent 796bc80 commit ebb33b0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ jobs:
with:
ref: ${{ inputs.ref }}

- name: Install Chromium
run: |
sudo apt-get update
sudo apt-get install -y chromium-browser
- name: Setup pnpm
uses: pnpm/[email protected]
with:
Expand Down

0 comments on commit ebb33b0

Please sign in to comment.