2
2
3
3
[ Buildless] [ 1 ] , [ Pkgst] [ 8 ] , [ Turbo] [ 2 ] , and [ React Native] [ 3 ] with [ sccache] [ 4 ] .
4
4
5
+ > See [ a video preview] [ 13 ] of this sample on the command line
6
+
7
+ | Uncached build (** 22 seconds** ) | Cached build (** 1.5 seconds** ) |
8
+ | -------------- | ------------ |
9
+ | <img src =" docs/build-cli-clean.png " alt =" Clean build " /> | <img src =" docs/build-cli-repeat.png " alt =" Cached build " > |
10
+
5
11
6
12
## Details about this sample
7
13
@@ -15,7 +21,7 @@ Together, these tools provide a unified cross-platform development environment,
15
21
- [ Turbo docs: Remote caching] [ 9 ]
16
22
17
23
18
- ## Using this example
24
+ ## Trying the sample
19
25
20
26
> ** Before you start:** Obtain an API key for [ Buildless] [ 1 ] , set it at ` BUILDLESS_APIKEY ` in your environment
21
27
@@ -43,6 +49,21 @@ pnpm run android
43
49
```
44
50
45
51
52
+ ## Using the sample for your own codebase
53
+
54
+ This is a [ GitHub Template repository] [ 10 ] ; you can easily use it to create your own repo. Follow these steps to customize it
55
+ for use with your Buildless account:
56
+
57
+ 1 ) Update ` .github/CODEOWNERS `
58
+ 2 ) Add a [ GitHub Secret] [ 11 ] called ` BUILDLESS_APIKEY ` , set to the API key you want to use in CI
59
+ 3 ) That's it!
60
+
61
+
62
+ ### Sharing an API key across an organization
63
+
64
+ You can use [ Organization Secrets] [ 12 ] to automatically provide a ` BUILDLESS_APIKEY ` to all your repos.
65
+
66
+
46
67
## Docs from the original template
47
68
48
69
This template is a fork of [ a similar Vercel-provided template] [ 6 ] . The original README docs from that template are enclosed below.
@@ -69,6 +90,11 @@ This Turborepo has some additional tools already setup for you:
69
90
- [ Prettier] ( https://prettier.io ) for code formatting
70
91
71
92
93
+ ## Video preview
94
+
95
+ [ ![ asciicast] ( https://asciinema.org/a/608260.svg )] ( https://asciinema.org/a/608260 )
96
+
97
+
72
98
[ 1 ] : https://less.build
73
99
[ 2 ] : https://turbo.build
74
100
[ 3 ] : https://reactnative.dev
@@ -78,3 +104,7 @@ This Turborepo has some additional tools already setup for you:
78
104
[ 7 ] : https://docs.less.build/docs/turborepo
79
105
[ 8 ] : https://docs.less.build/docs/pkgst
80
106
[ 9 ] : https://turbo.build/repo/docs/core-concepts/remote-caching
107
+ [ 10 ] : https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template
108
+ [ 11 ] : https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions
109
+ [ 12 ] : https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions#creating-secrets-for-an-organization
110
+ [ 13 ] : https://asciinema.org/a/608260
0 commit comments