Skip to content

Commit

Permalink
Add step to install WebKit dependencies in Playwright workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromehardaway committed Dec 19, 2024
1 parent 297b407 commit c8f2379
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
env:
cache-name: cache-node-modules
with:
# This path is platform dependent; use **/node_modules for Windows
path: |
node_modules
**/node_modules
Expand All @@ -36,6 +35,12 @@ jobs:
- name: Install dependencies
run: yarn

# Added this new step for WebKit dependencies
- name: Install WebKit dependencies
run: |
sudo apt-get update
sudo apt-get install -y libicu70 libwoff1 libharfbuzz-icu0 libgstreamer-plugins-base1.0-0 libgstreamer-gl1.0-0 libgstreamer1.0-0 libhyphen0 libmanette-0.2-0 libwebpdemux2 libenchant-2-2
- name: Cache Playwright Browsers
uses: actions/cache@v4
with:
Expand All @@ -56,4 +61,4 @@ jobs:
with:
name: playwright-report
path: playwright-report/
retention-days: 30
retention-days: 30

0 comments on commit c8f2379

Please sign in to comment.