Skip to content

Commit 2ad64ce

Browse files
authored
chore: try self-hosted (#136)
1 parent f2767fc commit 2ad64ce

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414
jobs:
1515
test-go:
1616
name: Test Go
17-
runs-on: ubuntu-latest
17+
runs-on: rspack-ubuntu-22.04-large
1818
strategy:
1919
matrix:
2020
go-version: ['1.24.1']
@@ -35,7 +35,7 @@ jobs:
3535
3636
test-node:
3737
name: Test npm packages
38-
runs-on: ubuntu-latest
38+
runs-on: rspack-ubuntu-22.04-large
3939
strategy:
4040
matrix:
4141
go-version: ['1.24.1']
@@ -69,6 +69,12 @@ jobs:
6969
- name: TypeCheck
7070
run: pnpm typecheck
7171

72+
- name: Install xvfb and dependencies
73+
if: runner.os == 'Linux'
74+
run: |
75+
sudo apt-get update
76+
sudo apt-get install -y xvfb libxss1 libgtk-3-0 libgconf-2-4 libnss3 libxrandr2 libasound2 libpangocairo-1.0-0 libatk1.0-0 libcairo-gobject2 libgtk-3-0 libgdk-pixbuf2.0-0
77+
7278
- name: Test on Linux
7379
if: runner.os == 'Linux'
7480
run: xvfb-run -a pnpm -r test
@@ -85,7 +91,7 @@ jobs:
8591
- test-go
8692
- test-node
8793
if: always()
88-
runs-on: ubuntu-latest
94+
runs-on: rspack-ubuntu-22.04-large
8995
name: CI Done
9096
steps:
9197
- run: exit 1

0 commit comments

Comments
 (0)