ci.yml 821B

12345678910111213141516171819202122232425262728293031323334
  1. name: CI
  2. on: [push, pull_request]
  3. jobs:
  4. js-tests:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - uses: actions/checkout@v1
  8. - name: Use Node.js 12.x
  9. uses: actions/setup-node@v1
  10. with:
  11. node-version: 12.x
  12. - name: Install yarn
  13. run: npm install -g yarn
  14. - name: Install dependencies
  15. run: yarn install
  16. - name: Run tests
  17. run: yarn test
  18. android-build:
  19. runs-on: ubuntu-latest
  20. steps:
  21. - uses: actions/checkout@v1
  22. - name: Use Node.js 12.x
  23. uses: actions/setup-node@v1
  24. with:
  25. node-version: 12.x
  26. - name: Install yarn
  27. run: npm install -g yarn
  28. - name: Install dependencies
  29. run: yarn install
  30. - name: Build android example app
  31. run: cd example/app && ./gradlew assembleRelease