mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2026-02-23 15:04:22 +01:00
Add CI step to check RN bindings (#115)
This commit is contained in:
31
.github/workflows/main.yml
vendored
31
.github/workflows/main.yml
vendored
@@ -61,4 +61,33 @@ jobs:
|
||||
curl -o jna-5.12.1.jar https://repo1.maven.org/maven2/net/java/dev/jna/jna/5.12.1/jna-5.12.1.jar
|
||||
export CLASSPATH=$(pwd)/jna-5.12.1.jar;
|
||||
cd lib/ls-sdk-bindings
|
||||
cargo test
|
||||
cargo test
|
||||
|
||||
react-native:
|
||||
name: Check react native bindings
|
||||
runs-on: macOS-14
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: React native codegen
|
||||
working-directory: lib/ls-sdk-react-native
|
||||
run: |
|
||||
yarn global add tslint typescript
|
||||
brew update
|
||||
brew install kotlin ktlint swiftformat
|
||||
make react-native
|
||||
|
||||
- name: Check git status
|
||||
env:
|
||||
GIT_PAGER: cat
|
||||
run: |
|
||||
status=$(git status --porcelain)
|
||||
if [[ -n "$status" ]]; then
|
||||
echo "Git status has changes"
|
||||
echo "$status"
|
||||
git diff
|
||||
exit 1
|
||||
else
|
||||
echo "No changes in git status"
|
||||
fi
|
||||
Reference in New Issue
Block a user