This repository has been archived by the owner on May 3, 2024. It is now read-only.
DX enhancements - quieter logging on startup and polling, clickable URL in console #1937
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Size - gzipped | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version-file: .nvmrc | |
- uses: preactjs/compressed-size-action@v2 | |
env: | |
NODE_ENV: development | |
with: | |
build-script: "build:bundle:prod" | |
clean-script: "clean:build" | |
pattern: "./build/**/*.js" | |
strip-hash: \d+\.\d+\.\d+[-\S+]*\/ | |
exclude: "{./build/**/i18n/*.js,./build/**/legacy/**,./build/**/tmp/**,**/node_modules/**}" |