mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-02 21:45:14 +01:00
57 lines
1.5 KiB
YAML
57 lines
1.5 KiB
YAML
name: "[Release] suite-native develop"
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- develop
|
|
paths:
|
|
- "suite-native/**"
|
|
- "suite-common/**"
|
|
- "!**.md"
|
|
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: 16.24.1
|
|
token: ${{ secrets.EXPO_TOKEN }}
|
|
- name: Install libs
|
|
run: |
|
|
yarn workspaces focus @suite-native/app
|
|
npx patch-package # Apply global patches.
|
|
- 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
|