forked from elliottkember/react-native-background-upload
-
Notifications
You must be signed in to change notification settings - Fork 5
42 lines (32 loc) · 920 Bytes
/
Copy pathnode.yml
File metadata and controls
42 lines (32 loc) · 920 Bytes
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
40
41
42
name: CI
on: [push, pull_request]
jobs:
checks:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: install node_modules
run: |
yarn install --frozen-lockfile
yarn --cwd example/RNBGUExample install --frozen-lockfile
- name: lint
run: yarn lint:ci
- name: typecheck
run: yarn typecheck
- name: js tests
run: yarn test
- name: setup java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
- name: android unit tests
run: |
cd example/RNBGUExample/android
./gradlew :react-native-background-upload:testDebugUnitTest