Skip to content

Commit

Permalink
Check compressed size (#698)
Browse files Browse the repository at this point in the history
* Check compressed size

* Test update of jquery

* Check lib files

* Revert "Test update of jquery"

This reverts commit 8e2d556.

* Add size workflow

* Change 'on' attribute
  • Loading branch information
mbraak authored Aug 12, 2023
1 parent 4d1e03d commit 7b20f17
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/size.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Compressed Size
on: [pull_request]

jobs:
runner-job:
runs-on: ubuntu-latest

steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install pnpm
run: npm install -g pnpm
- name: Install packages
run: pnpm install
- name: Check compressed size
uses: preactjs/compressed-size-action@v2
with:
build-script: "production"
pattern: "./lib/**/*.js"

0 comments on commit 7b20f17

Please sign in to comment.