Skip to content

Commit

Permalink
chore(bundlesize): add github workflows to check compressed size (ela…
Browse files Browse the repository at this point in the history
…stic#652)

* chore(bundlesize): add github workflows to check compressed size[skip ci]

* add pattern and fetch depth [skip ci]
  • Loading branch information
vigneshshanmugam authored Feb 26, 2020
1 parent c735b1f commit 590817e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/bundle-size.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Compressed Size

on: [pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- uses: preactjs/compressed-size-action@v1
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
build-script: "npx lerna run build:module"
pattern: "{packages/rum/dist/bundles/*.js}"

0 comments on commit 590817e

Please sign in to comment.