Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
chore(workflow): bundle size
Browse files Browse the repository at this point in the history
  • Loading branch information
JAdshead committed Jun 3, 2022
1 parent 84f719a commit 91115b3
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 165 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/bundle-size.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Build Size - gzipped

on: [pull_request]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: preactjs/compressed-size-action@v2
env:
NODE_ENV: development
with:
build-script: "build:bundle"
pattern: "./build/**/*.js"
exclude: "{./build/**/i18n/*.js,./build/**/legacy/**,./build/**/tmp/**,**/*.map,**/node_modules/**}"
2 changes: 0 additions & 2 deletions dangerfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,5 @@
*/

import checkPackageFiles from './scripts/dangers/keep-package-and-lock-in-sync';
import reportBundleSizes from './scripts/dangers/bundle-sizes';

checkPackageFiles();
reportBundleSizes();
163 changes: 0 additions & 163 deletions scripts/dangers/bundle-sizes.js

This file was deleted.

0 comments on commit 91115b3

Please sign in to comment.