Skip to content

Commit bf02867

Browse files
committed
don't wait on server in CI
1 parent bbc7fef commit bf02867

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ jobs:
9393
uses: browser-actions/setup-chrome@latest
9494
with:
9595
chrome-version: stable
96+
env:
97+
CHROME_FLAGS: "--enable-features=SharedArrayBuffer,CrossOriginIsolation --enable-experimental-web-platform-features --cross-origin-isolated --allow-file-access-from-files --disable-web-security --allow-insecure-localhost --no-sandbox --disable-setuid-sandbox --enable-unsafe-webgpu --disable-gpu-sandbox"
9698
- name: Install Chrome dependencies
9799
run: |
98100
sudo apt-get update
@@ -128,9 +130,6 @@ jobs:
128130
libxss1 \
129131
libxtst6 \
130132
libgbm1
131-
- name: Set Chrome flags
132-
run: |
133-
echo "CHROME_FLAGS=--enable-features=SharedArrayBuffer,CrossOriginIsolation --enable-experimental-web-platform-features --cross-origin-isolated --allow-file-access-from-files --disable-web-security --allow-insecure-localhost --no-sandbox --disable-setuid-sandbox --enable-unsafe-webgpu --disable-gpu-sandbox" >> $GITHUB_ENV
134133
- name: Run tests
135134
env:
136135
CHROME_HEADLESS: 1
@@ -139,9 +138,6 @@ jobs:
139138
# Start test server with proper headers
140139
npm run serve &
141140
142-
# Wait for server to be ready
143-
npx wait-on http://localhost:3000
144-
145141
# Run tests with configured Chrome flags
146142
npx mocha-headless-chrome \
147143
--args="$CHROME_FLAGS" \

0 commit comments

Comments
 (0)