chore!: relicense to Apache-2.0 + bundle relicensed OnramperSDK 1.0.0 #34
This file contains hidden or 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: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: [master] | |
| jobs: | |
| js: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| - run: npm ci | |
| - run: npm run lint | |
| - run: npm run typecheck | |
| - run: npx jest | |
| # iOS verification is limited to the wrapper repo today. | |
| # Example-app xcodebuild + xctest scheme are deferred: | |
| # - The bundled example uses RN 0.85 / Expo SDK 55 which has a known build | |
| # error in node_modules/expo/.../ExpoReactNativeFactory.swift. | |
| # - The Xcode unit-test scheme (OnramperReactNativeTests) requires a one-time | |
| # manual setup in Xcode UI that hasn't run yet. | |
| # Re-enable example build + xctest jobs once both are resolved. | |
| ios: | |
| runs-on: macos-14 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| - run: npm ci | |
| - run: npm run fetch-xcframework | |
| env: | |
| # Cross-repo read of the private onramper/onramper-ios release. | |
| # The auto GITHUB_TOKEN is scoped to this repo only, so a | |
| # fine-grained PAT (Contents: Read-only on onramper-ios) is required. | |
| # Remove this once onramper-ios is public. | |
| GH_TOKEN: ${{ secrets.RELEASE_REPO_TOKEN }} | |
| - run: npm run verify-version |