Run v17.7.1 browser module diagnostic
This commit is contained in:
parent
c257a8f36d
commit
9839f764f3
33
.github/workflows/browser-diag-v1771.yml
vendored
Normal file
33
.github/workflows/browser-diag-v1771.yml
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
name: Caterium v17.7.1 browser diagnostic
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '.github/workflows/browser-diag-v1771.yml'
|
||||
permissions:
|
||||
contents: write
|
||||
jobs:
|
||||
diagnose:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '22'
|
||||
- run: npm install
|
||||
- run: npx playwright install --with-deps chromium
|
||||
- name: Diagnose browser module loading
|
||||
run: |
|
||||
npx http-server public -p 4173 -c-1 > /tmp/caterium-http.log 2>&1 &
|
||||
sleep 2
|
||||
node ops/browser_diag_v1771.mjs > ops/browser-diag-v1771.txt
|
||||
- name: Commit diagnostic result
|
||||
run: |
|
||||
rm -f .github/workflows/browser-diag-v1771.yml ops/browser_diag_v1771.mjs ops/e2e-v1771.txt
|
||||
git config user.name "github-actions[bot]"
|
||||
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||
git add -A
|
||||
git add -f ops/browser-diag-v1771.txt
|
||||
git commit -m "Capture v17.7.1 browser module diagnostics"
|
||||
git push
|
||||
Loading…
Reference in New Issue
Block a user