Skip to content

Add tests

Add tests #271

Workflow file for this run

name: Compressed Size
on: [pull_request]
jobs:
runner-job:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: "20"
- 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"
exclude: "{./lib/**/*.d.js,./lib/playwright/**,./lib/test/**}"