Extend SigningCallback
form to allow returning an object
#319
This file contains 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: Bundle Size | |
on: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Node.js 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
# Workaround for some `yarn` nonsense, see: | |
# https://github.com/yarnpkg/yarn/issues/6312#issuecomment-429685210 | |
- name: Install Dependencies | |
run: yarn install --network-concurrency 1 | |
- name: Build All | |
run: yarn build:prod | |
- name: Report Bundle Size | |
uses: preactjs/compressed-size-action@v2 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
pattern: "dist/*.js" | |
compression: "none" |