-
Notifications
You must be signed in to change notification settings - Fork 0
68 lines (66 loc) · 2.08 KB
/
check-build-deploy-to-test-users.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: Check, build and deploy
on:
pull_request:
branches:
- master
# types:
# - closed
jobs:
tsc:
# if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node and Install Dependencies
uses: ./.github/actions/setup-node
- name: Run TypeScript compiler
run: yarn run tsc
lint:
runs-on: ubuntu-latest
needs: tsc
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node and Install Dependencies
uses: ./.github/actions/setup-node
- name: Run Linting
run: yarn run lint
build-ios:
runs-on: macos-latest
needs: [tsc, lint]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3.0'
- name: Setup Node and Install Dependencies
uses: ./.github/actions/setup-node
- name: Install Fastlane
run: |
cd ios
rm -rf Gemfile.lock
gem install bundler -v 2.4.22
bundle install
- name: Install Pods
run: |
cd ios
pod install
- name: Run Fastlane Lane
run: |
cd ios
bundle exec fastlane certificates && bundle exec fastlane deploy
env:
MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }}
MATCH_USERNAME: ${{ secrets.MATCH_USERNAME }}
APP_STORE_CONNECT_API_KEY_KEY_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_KEY_ID }}
APP_STORE_CONNECT_API_KEY_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_ISSUER_ID }}
APP_STORE_CONNECT_API_KEY_KEY: ${{ secrets.APP_STORE_CONNECT_API_KEY_KEY }}
GIT_AUTHORIZATION: ${{ secrets.GIT_AUTHORIZATION }}
APPLE_APP_IDENTIFIER: ${{ secrets.APPLE_APP_IDENTIFIER }}
TEAM_NAME: ${{ secrets.TEAM_NAME }}
TEAM_ID: ${{ secrets.TEAM_ID }}
ITC_TEAM_NAME: ${{ secrets.ITC_TEAM_NAME }}
ITC_TEAM_ID: ${{ secrets.ITC_TEAM_ID }}