Skip to content

Commit 12112d4

Browse files
committed
fix: ci
1 parent 6df00cf commit 12112d4

File tree

4 files changed

+70
-21
lines changed

4 files changed

+70
-21
lines changed

.github/workflows/pr_evaluation.yml

+1-1
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

+7-9
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
@@ -43,21 +43,18 @@ jobs:
4343

4444
tests:
4545
name: Test checks
46-
runs-on: ubuntu-latest
47-
strategy:
48-
matrix:
49-
node-version: [18.x, 20.x]
46+
runs-on: ubuntu-24.04
5047

5148
steps:
5249
- name: Check out code
5350
uses: actions/checkout@v3
5451
with:
5552
fetch-depth: 2
5653

57-
- name: Use Node.js ${{ matrix.node-version }}
54+
- name: Use Node.js 20.x
5855
uses: actions/setup-node@v3
5956
with:
60-
node-version: ${{ matrix.node-version }}
57+
node-version: 20.x
6158

6259
- name: Get node version
6360
id: node
@@ -76,7 +73,9 @@ jobs:
7673
run: npm ci
7774

7875
- name: Install playwright browsers
79-
run: npx playwright install --with-deps
76+
run: |
77+
sudo apt update
78+
npx playwright install --with-deps
8079
8180
- name: Build
8281
run: npm run build
@@ -89,7 +88,6 @@ jobs:
8988
runs-on: ubuntu-latest
9089
needs:
9190
- linters
92-
- tests
9391
steps:
9492
- uses: actions/checkout@v3
9593
- name: Set env

package-lock.json

+61-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
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)