Add type as Node | undefined to head #777
This file contains hidden or 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: compressed-size | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v3 | |
with: | |
version: 10.7.0 | |
- name: compressed-size-action | |
uses: preactjs/compressed-size-action@v2 | |
with: | |
pattern: "{packages/*/dist/!(*.module|*.min).{js,mjs},docs/dist/**/*.{js,css}}" | |
build-script: "ci:build" | |
strip-hash: "[.-](\\w{8,9})\\.(?:js|css)$" |