ci: Hopefully fix reporting

This commit is contained in:
Vendicated 2022-11-11 13:06:04 +01:00
parent a26f636c9b
commit 31fb19b8c9
No known key found for this signature in database
GPG key ID: EC781ADFB93EFFA3
4 changed files with 336 additions and 53 deletions

View file

@ -25,12 +25,17 @@ jobs:
pnpm install --frozen-lockfile
pnpm add puppeteer
sudo apt-get install -y chromium-browser
- name: Build web
run: pnpm buildWeb --standalone
- name: Create Report
timeout-minutes: 10
run: |
export PATH="$PWD/node_modules/.bin:$PATH"
export CHROMIUM_BIN=$(which chromium-browser)
esbuild test/generateReport.ts > dist/report.mjs
node dist/report.mjs >> $GITHUB_STEP_SUMMARY
env: