Skip to content

Commit 6b7e844

Browse files
committed
fix: ci
1 parent 6df00cf commit 6b7e844

File tree

4 files changed

+82
-14
lines changed

4 files changed

+82
-14
lines changed

.github/workflows/pr_evaluation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ jobs:
139139
if: steps.playwright-cache.outputs.cache-hit != 'true'
140140

141141
- name: Install playwright dependencies
142-
- run: npx playwright install-deps
142+
run: npx playwright install-deps
143143
if: steps.playwright-cache.outputs.cache-hit == 'true'
144144

145145
- name: Build

.github/workflows/publish.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99

1010
linters:
1111
name: Linting checks
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-24.04
1313

1414
steps:
1515
- name: Check out code
@@ -76,7 +76,24 @@ jobs:
7676
run: npm ci
7777

7878
- name: Install playwright browsers
79-
run: npx playwright install --with-deps
79+
run: |
80+
sudo apt update
81+
sudo apt install -y libatk1.0-0 \
82+
libatk-bridge2.0-0 \
83+
libcups2 \
84+
libdrm2 \
85+
libdbus-1-3 \
86+
libatspi2.0-0 \
87+
libxcomposite1 \
88+
libxdamage1 \
89+
libxfixes3 \
90+
libxrandr2 \
91+
libgbm1 \
92+
libxkbcommon0 \
93+
libpango-1.0-0 \
94+
libcairo2 \
95+
libasound2t64
96+
npx playwright install --with-deps
8097
8198
- name: Build
8299
run: npm run build

package-lock.json

Lines changed: 61 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"fast-glob": "^3.3.2",
4545
"globby": "^14.0.1",
4646
"husky": "^8.0.0",
47+
"playwright": "^1.47.0",
4748
"prettier": "^2.8.8",
4849
"sinon": "^17.0.1",
4950
"tsup": "^8.0.2",

0 commit comments

Comments
 (0)