Skip to content

Commit 23ba799

Browse files
authored
ci: copy Android unit test job from CircleCI (#922)
1 parent b59d640 commit 23ba799

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,26 @@ jobs:
2525
- name: TypeScript
2626
run: |
2727
yarn test:ts
28+
android:
29+
name: Android
30+
runs-on: ubuntu-22.04
31+
steps:
32+
- name: Checkout
33+
uses: actions/checkout@v3
34+
- name: Set up Node.js
35+
uses: actions/[email protected]
36+
with:
37+
node-version: 16
38+
cache: yarn
39+
- name: Install JS dependencies
40+
run: |
41+
yarn
42+
- name: Test Next Storage
43+
uses: gradle/[email protected]
44+
with:
45+
gradle-version: wrapper
46+
arguments: react-native-async-storage_async-storage:test
47+
build-root-directory: example/android
2848
ios:
2949
name: iOS
3050
runs-on: macos-latest

0 commit comments

Comments
 (0)