forked from react-native-webview/react-native-webview
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (39 loc) · 1.01 KB
/
android-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Android
on:
push:
branches:
- master
pull_request:
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version: 16
- name: Set up JDK
uses: actions/[email protected]
with:
distribution: temurin
java-version: 11
- name: Cache /node_modules
uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
- name: Install npm dependencies
run: yarn --frozen-lockfile
shell: bash
- name: Build Android test app
uses: gradle/[email protected]
with:
gradle-version: wrapper
arguments: --no-daemon clean build check test
build-root-directory: example/android
timeout-minutes: 60