Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
anuragxxd committed Jan 25, 2025
1 parent 6df00cf commit c94b6d9
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr_evaluation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ jobs:
if: steps.playwright-cache.outputs.cache-hit != 'true'

- name: Install playwright dependencies
- run: npx playwright install-deps
run: npx playwright install-deps
if: steps.playwright-cache.outputs.cache-hit == 'true'

- name: Build
Expand Down
21 changes: 19 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

linters:
name: Linting checks
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Check out code
Expand Down Expand Up @@ -76,7 +76,24 @@ jobs:
run: npm ci

- name: Install playwright browsers
run: npx playwright install --with-deps
run: |
sudo apt update
sudo apt install -y libatk1.0-0 \
libatk-bridge2.0-0 \
libcups2 \
libdrm2 \
libdbus-1-3 \
libatspi2.0-0 \
libxcomposite1 \
libxdamage1 \
libxfixes3 \
libxrandr2 \
libgbm1 \
libxkbcommon0 \
libpango-1.0-0 \
libcairo2 \
libasound2
npx playwright install chromium --with-deps
- name: Build
run: npm run build
Expand Down
72 changes: 61 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"fast-glob": "^3.3.2",
"globby": "^14.0.1",
"husky": "^8.0.0",
"playwright": "^1.47.0",
"prettier": "^2.8.8",
"sinon": "^17.0.1",
"tsup": "^8.0.2",
Expand Down

0 comments on commit c94b6d9

Please sign in to comment.