fix: only tries to read device context from react-native-device-info if expo libs are not available #274
Workflow file for this run
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: Bundled Size | |
on: [pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: preactjs/compressed-size-action@v2 | |
with: | |
pattern: 'posthog-{web,node,react-native}/lib/**/*.js' |