This repository has been archived by the owner on May 3, 2024. It is now read-only.
fix(server): devCDN should not crash when bundles are not present #1815
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" | |
pattern: "./build/**/*.js" | |
strip-hash: \d+\.\d+\.\d+[-\S+]*\/ | |
exclude: "{./build/**/i18n/*.js,./build/**/legacy/**,./build/**/tmp/**,**/*.map,**/node_modules/**}" |