-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdev.yml
49 lines (41 loc) · 1006 Bytes
/
dev.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
name: checkout-sheet-kit-react-native
type: node
up:
- ruby
- node:
version: v20.11.1
yarn: 1.22.22
- custom:
name: Install gems
met?: (cd sample/ios && bundle check)
meet: |
(cd sample/ios && bundle install)
- custom:
name: Install pods
met?: (cd sample/ios && bundle exec pod check --ignore-dev-pods)
meet: |
yarn pod-install
- custom:
name: Build node module
met?: (cd modules/@shopify/checkout-sheet-kit && ls -l | grep lib)
meet: |
yarn module build
packages:
- xcode
commands:
server:
desc: 'Start development server'
run: yarn sample start --reset-cache
ios:
desc: 'Run iOS simulator'
run: yarn sample ios
android:
desc: 'Run Android emulator'
run: yarn sample android
clean:
desc: 'rm -rf all generated directories'
run: |
yarn clean
yarn module clean
yarn sample clean
echo "✅ Cleaned root, module and sample workspaces"