diff --git a/.github/workflows/browser-diag-v1771.yml b/.github/workflows/browser-diag-v1771.yml new file mode 100644 index 0000000..6732873 --- /dev/null +++ b/.github/workflows/browser-diag-v1771.yml @@ -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