Skip to content

Commit 6cbaa13

Browse files
committed
fix: ci test with playwright
1 parent 15f0454 commit 6cbaa13

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.github/workflows/macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
node-version: ${{ matrix.node-version }}
5050

5151
- name: Install Dependencies
52-
run: npm i && npm i -D cli-truncate iconv-corefoundation
52+
run: npm ci && npm i -D cli-truncate iconv-corefoundation
5353

5454
- name: Check lint
5555
run: npm run lint

.github/workflows/ubuntu.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,14 @@ jobs:
5151
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf
5252
5353
- name: Install Dependencies
54-
run: npm i
54+
run: npm ci
5555

5656
- name: Check lint
5757
run: npm run lint
5858

59+
- name: Install Playwright Browsers
60+
run: npx playwright install --with-deps
61+
5962
- name: Run headless unit test
6063
uses: GabrielBB/xvfb-action@v1
6164
with:

.github/workflows/windows.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,14 @@ jobs:
4949
node-version: ${{ matrix.node-version }}
5050

5151
- name: Install Dependencies
52-
run: npm i
52+
run: npm ci
5353

5454
- name: Check lint
5555
run: npm run lint
5656

57+
- name: Install Playwright Browsers
58+
run: npx playwright install --with-deps
59+
5760
- name: Run headless unit test
5861
run: npm run test
5962

0 commit comments

Comments
 (0)