Skip to content

fix(useLongPress): prevent callback from firing after unmount #807

fix(useLongPress): prevent callback from firing after unmount

fix(useLongPress): prevent callback from firing after unmount #807

Workflow file for this run

name: Compressed Size
on: [pull_request]
jobs:
compressed-size:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Enable Corepack
run: corepack enable
- name: Set up Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- name: Check bundle size
uses: preactjs/compressed-size-action@f322c295dde06a1cb7ccaef105732dd8a726d1d9 # v2.10.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
build-script: 'prepack'
pattern: './packages/*/dist/**/*.{mjs,cjs}'