Skip to content

fix: Fix Tried to synchronously call a non-worklet function (#507) #343

fix: Fix Tried to synchronously call a non-worklet function (#507)

fix: Fix Tried to synchronously call a non-worklet function (#507) #343

name: 🗑️ Unused Code Check
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: 🛒 Checkout code
uses: actions/checkout@v4
- name: 🔧 Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'yarn'
- name: 📦 Install dependencies
run: yarn install --immutable
- name: 🧹 Find unused JS/TS code
working-directory: packages/react-native-sortables
run: yarn knip