Skip to content

Report generation & acoustic event summary report #5494

Report generation & acoustic event summary report

Report generation & acoustic event summary report #5494

Workflow file for this run

name: Build Size Diff
on: [pull_request]
jobs:
diff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: "16"
cache: "npm"
# https://github.com/preactjs/compressed-size-action
- uses: preactjs/compressed-size-action@v2
with:
build-script: "build:ssr"
repo-token: "${{ secrets.GITHUB_TOKEN }}"
strip-hash: "\\.(\\w*?)\\."
pattern: "dist/**/*.{css,js,json,html}"