Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 12 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,22 @@ name: Test

on:
pull_request:
branches: '**'
branches: "**"

jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: '[Setup] Node'
uses: actions/setup-node@v4
with:
node-version: 16
- name: '[Setup] Dependencies'
run: yarn
- name: '[Test] Linting'
run: yarn lint
- name: "Checkout"
uses: actions/checkout@v5

- name: Unit tests results
if: failure()
uses: actions/upload-artifact@v4
- name: "Setup Bun"
uses: oven-sh/setup-bun@v2
with:
name: unit-tests-results
path: .
bun-version: latest

- name: "Install"
run: bun i

- name: "Linting"
run: bun run lint
577 changes: 577 additions & 0 deletions bun.lock

Large diffs are not rendered by default.

21 changes: 6 additions & 15 deletions examples/RNOneSignalTS/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,17 @@ This is a new [**React Native**](https://reactnative.dev) project, bootstrapped

> **Note**: Make sure you have completed the [Set Up Your Environment](https://reactnative.dev/docs/set-up-your-environment) guide before proceeding.

Also make sure to run the link command in root:
`bun link`

## Step 1: Start Metro

First, you will need to run **Metro**, the JavaScript build tool for React Native.

To start the Metro dev server, run the following command from the root of your React Native project:

```sh
# Using npm
npm start

# OR using Yarn
yarn start
bun i
```

## Step 2: Build and run your app
Expand All @@ -25,11 +24,7 @@ With Metro running, open a new terminal window/pane from the root of your React
### Android

```sh
# Using npm
npm run android

# OR using Yarn
yarn android
bun run android
```

### iOS
Expand All @@ -51,11 +46,7 @@ bundle exec pod install
For more information, please visit [CocoaPods Getting Started guide](https://guides.cocoapods.org/using/getting-started.html).

```sh
# Using npm
npm run ios

# OR using Yarn
yarn ios
bun run ios
```

If everything is set up correctly, you should see your new app running in the Android Emulator, iOS Simulator, or your connected device.
Expand Down
13 changes: 0 additions & 13 deletions examples/RNOneSignalTS/__tests__/App.test.tsx

This file was deleted.

1,576 changes: 1,576 additions & 0 deletions examples/RNOneSignalTS/bun.lock

Large diffs are not rendered by default.

Loading
Loading