Enable basic GitHub Actions CI

This commit is contained in:
Frieder Bluemle 2020-07-09 20:38:54 -07:00
parent ad98bfa878
commit 18f1c0d760
No known key found for this signature in database
GPG Key ID: EEAAFC3A01B5FFC6
2 changed files with 14 additions and 0 deletions

10
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,10 @@
name: ci
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- run: yarn --no-lockfile
- run: yarn lint

View File

@ -1,5 +1,7 @@
## react-native-video
[![ci][4]][5]
A `<Video>` component for react-native, as seen in
[react-native-login](https://github.com/brentvatne/react-native-login)!
@ -1482,6 +1484,8 @@ If you encounter an error `Could not find com.android.support:support-annotation
[1]: https://github.com/brentvatne/react-native-login/blob/56c47a5d1e23781e86e19b27e10427fd6391f666/App/Screens/UserInfoScreen.js#L32-L35
[2]: https://github.com/react-native-community/react-native-video/tree/master/example
[3]: https://developer.apple.com/library/ios/qa/qa1668/_index.html
[4]: https://github.com/react-native-community/react-native-video/workflows/ci/badge.svg
[5]: https://github.com/react-native-community/react-native-video/actions
---