-
-
Notifications
You must be signed in to change notification settings - Fork 273
53 lines (50 loc) · 1.42 KB
/
release-suite-native-develop.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: "[Release] suite-native develop"
on:
push:
branches:
- develop
paths:
- "suite-native/**"
- "suite-common/**"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
if: github.repository == 'trezor/trezor-suite' || github.repository == 'trezor/trezor-suite-private'
name: Install and build
environment: develop-suite-native
runs-on: ubuntu-latest
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: yarn
- name: Setup EAS
uses: expo/expo-github-action@v8
with:
eas-version: latest
token: ${{ secrets.EXPO_TOKEN }}
- name: Install libs
run: yarn workspaces focus @suite-native/app
- name: Build on EAS Android
run: eas build
--platform android
--profile develop
--non-interactive
--no-wait
--message ${{ github.sha }}
working-directory: suite-native/app
- name: Build on EAS iOS
run: eas build
--platform ios
--profile develop
--non-interactive
--auto-submit
--no-wait
--message ${{ github.sha }}
working-directory: suite-native/app