generated from coral-xyz/xnft-quickstart
-
Notifications
You must be signed in to change notification settings - Fork 20
57 lines (52 loc) · 1.44 KB
/
build-entries.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
name: Build xNFT, web, and mobile
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
prepare-dependencies:
name: Prepare local deps
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- id: prepare-env
uses: ./.github/actions/prepare-local-env
- name: Use cache or install dependencies
if: steps.prepare-env.outputs.cache-hit != 'true'
run: npm ci
build-xnft:
name: Build xNFT
needs: prepare-dependencies
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- uses: ./.github/actions/prepare-local-env
- name: Build xNFT
run: npm run build:xnft
build-web:
name: Build web
needs: prepare-dependencies
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- uses: ./.github/actions/prepare-local-env
- name: Build web
run: npm run build:web
# build-android:
# name: Build Android
# needs: prepare-dependencies
# runs-on: ubuntu-latest
# steps:
# - name: Checkout repository
# uses: actions/checkout@v2
# - uses: ./.github/actions/prepare-local-env
# - name: 🏗 Setup EAS
# uses: expo/expo-github-action@v8
# with:
# eas-version: latest
# - name: Build Android
# run: npm run build:mobile:prod