Skip to content

Commit 45a4641

Browse files
committed
fix test?
1 parent 752f9e7 commit 45a4641

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

.github/workflows/node.js.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,11 @@ jobs:
3535
- name: Install chrome
3636
run: npx @puppeteer/browsers install chrome@stable
3737

38-
- name: Start Xvfb
38+
- name: Start Xvfb and Test
3939
run: |
4040
Xvfb :99 -screen 0 1920x1080x24 &
4141
export DISPLAY=:99
42-
43-
- name: Run headful puppeteer tests
44-
run: npm test
42+
npm test
4543
4644
- name: Archive artifacts
4745
uses: actions/upload-artifact@v4

.github/workflows/release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,11 @@ jobs:
3939
- name: Install chrome
4040
run: npx @puppeteer/browsers install chrome@stable
4141

42-
- name: Start Xvfb
42+
- name: Start Xvfb and Test
4343
run: |
4444
Xvfb :99 -screen 0 1920x1080x24 &
4545
export DISPLAY=:99
46-
47-
- name: Run headful puppeteer tests
48-
run: npm test
46+
npm test
4947
5048
- name: Archive Test result artifacts
5149
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)