Skip to content

Added crossOrigin, onLoad, and onLoadFailed config options #824

Added crossOrigin, onLoad, and onLoadFailed config options

Added crossOrigin, onLoad, and onLoadFailed config options #824

Workflow file for this run

name: Compressed Size
on: [pull_request]
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [18.16]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8.6.5
- name: Use Node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm build
- uses: preactjs/compressed-size-action@v2
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
pattern: "packages/**/dist/**/*.?(m)js"