-
Notifications
You must be signed in to change notification settings - Fork 278
55 lines (44 loc) · 1.22 KB
/
react-native-latest.yml
File metadata and controls
55 lines (44 loc) · 1.22 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
name: React Native Latest
on:
# Runs every night at 2 AM
schedule:
- cron: '0 2 * * *'
# Manual trigger
workflow_dispatch:
# Set minimal permissions by default
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ !contains(github.ref, 'main')}}
jobs:
lint:
runs-on: ubuntu-latest
name: Lint
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Node.js and deps
uses: ./.github/actions/setup-deps-rn-latest
- name: Lint
run: yarn lint
typecheck:
runs-on: ubuntu-latest
name: Typecheck
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Node.js and deps
uses: ./.github/actions/setup-deps-rn-latest
- name: Typecheck
run: yarn typecheck
test:
runs-on: ubuntu-latest
name: Test
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Node.js and deps
uses: ./.github/actions/setup-deps-rn-latest
- name: Test
run: yarn test:ci