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 aba519b
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 20 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
15 changes: 7 additions & 8 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 @@ -43,21 +43,18 @@ jobs:

tests:
name: Test checks
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
runs-on: ubuntu-24.04

steps:
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 2

- name: Use Node.js ${{ matrix.node-version }}
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
node-version: 20.x

- name: Get node version
id: node
Expand All @@ -76,7 +73,9 @@ jobs:
run: npm ci

- name: Install playwright browsers
run: npx playwright install --with-deps
run: |
sudo apt update
npx playwright install --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 aba519b

Please sign in to comment.