Commit Graph

68 Commits

Author SHA1 Message Date
Marc Rousavy
9f956a6f2f
devops: Use buildcache for iOS builds (#131)
* Use buildcache for iOS builds

from https://github.com/mikehardy/buildcache-action

* Update build-ios.yml

* Update build-ios.yml

* Specify compiler options to make buildcache work

* Update build-ios.yml
2021-05-05 15:28:14 +02:00
Marc Rousavy
0ce6f3eddd Add autofix/diff checker to ESLint 2021-03-12 15:10:44 +01:00
Marc Rousavy
04163160ff Also run validate-js for example/ 2021-03-12 14:58:09 +01:00
Marc Rousavy
dee957648b
Fix tsc (again) (#50)
* Test forbid `<View>`

* Update validate-js.yml

* Run yarn lint with custom formatter lib

* Revert "Test forbid `<View>`"

This reverts commit d36ab54b48b7e86e594d360bd71c82b541ed63fa.

* Test: Intentional tsc error

* Update notice-new-dependencies.yml

* Update validate-js.yml

* Use reviewdog again, but with custom efm

* Fix <Camera> props

* Update validate-js.yml

* Try use github-check

* Update validate-js.yml

* Update validate-js.yml

* Add two reporters

* Update validate-js.yml

* Level error

* Use github-pr-review

* Update validate-js.yml

* Revert "Test: Intentional tsc error"

This reverts commit a4e7f6f599d403848729143f1bd87a3435c70826.
2021-03-12 14:19:22 +01:00
Marc Rousavy
33483cba94
Fix tsc (#49)
* Test: Rename a used prop

* Use `github-check` reporter

* Also output to CI

* Update validate-js.yml

* Update validate-js.yml

* Update validate-js.yml

* Revert "Test: Rename a used prop"

This reverts commit 266b2716ea591a1e826279c1f573870bee3b13e5.

* Run tsc and lint in parallel

* Flatten `CameraProps` into single `interface`

* Type NativeCameraViewProps

* Fix native method typings

* Force `as any` for now
2021-03-12 13:21:46 +01:00
Marc Rousavy
b3881db9b8 Only build iOS if native files changed 2021-03-12 09:59:45 +01:00
Marc Rousavy
1f08a44100 Use Ruby Gemfile (bundle) to optimize pod install times 2021-03-11 19:08:51 +01:00
Marc Rousavy
9cbb5ad68e Update build-ios.yml 2021-03-11 19:02:10 +01:00
Marc Rousavy
832d6155eb Cache Pods in any path that contains "Pods" 2021-03-11 18:36:35 +01:00
Marc Rousavy
c84fa68357
Fix iOS build action (#43) 2021-03-11 18:27:10 +01:00
Marc Rousavy
0d717f0dbe
Build App Actions (#41)
* Adds a "Build Android App" action that builds example/android (I think we can also just build android/, but this is just double safety)
* Adds a "Build iOS App" action that builds example/ios (disabled for now as that is very expensive)
2021-03-11 16:51:28 +01:00
Marc Rousavy
47276997e3 Documentation: Use checkout-v2, remove setup-node 2021-03-09 14:16:21 +01:00
Marc Rousavy
630f47da92 Revert "Cleanup Build & Release Documentation action"
This reverts commit a2c85cc7a5.
2021-03-09 14:14:54 +01:00
Marc Rousavy
27f9fec281 Revert "don't use ssh"
This reverts commit 9c3071ec03.
2021-03-09 14:14:52 +01:00
Marc Rousavy
9c3071ec03 don't use ssh 2021-03-09 14:14:30 +01:00
Marc Rousavy
a2c85cc7a5 Cleanup Build & Release Documentation action 2021-03-09 14:11:38 +01:00
Marc Rousavy
cd55596ebd Create notice-new-dependencies.yml 2021-03-09 11:14:45 +01:00
Marc Rousavy
64bb6f6a2a
Run SwiftFormat in GH Action (#28) 2021-03-09 10:53:29 +01:00
Marc Rousavy
168ba054d1 Update workflow glob matchers 2021-03-09 09:45:06 +01:00
Marc Rousavy
fcda8dd75a Reviewdog: Fail on error 2021-03-08 19:34:46 +01:00
Marc Rousavy
f051481010
Devops/reviewdog typescript (#25)
* Use reviewdog for TSC

* Replace all `type Readonly<T>` with `interface T`

* Use --frozen-lockfile for yarn

* Give all actions a name

* Fix yarn example
2021-03-08 17:51:47 +01:00
Marc Rousavy
138e7bd0ec Ignore example/ for building docs 2021-03-04 10:38:42 +01:00
Marc Rousavy
71b442aeb4 Fix docs build path 2021-03-04 10:36:27 +01:00
Marc Rousavy
0709711b07 Only trigger on source code changes 2021-03-04 10:28:51 +01:00
Marc Rousavy
e7f696112e Install node_modules in build-docs.yml 2021-03-04 10:27:37 +01:00
Marc Rousavy
78aa90109a Update build-docs.yml 2021-03-03 21:31:22 +01:00
Marc Rousavy
734c84579b
build-docs: use ssh 2021-03-03 14:45:57 +01:00
Marc Rousavy
a97a3cf6ec Update build-docs.yml 2021-03-03 13:29:35 +01:00
Marc Rousavy
ef1b9e0d20 Update build-docs.yml 2021-03-03 13:22:40 +01:00
Marc Rousavy
9eb1f5d04c Update build-docs.yml 2021-03-03 13:17:34 +01:00
Marc Rousavy
0fc0dc04ae Add typescript dep 2021-03-03 13:03:29 +01:00
Marc Rousavy
d1516ae622 Create build-docs.yml 2021-03-03 12:53:13 +01:00
Marc Rousavy
6438b9a8bc
Bump CameraX versions to alpha2/alpha22 (#7)
* Bump CameraX versions to alpha2/alpha22
* Use `setDefaultResolution` to set format's photoSize
2021-02-26 17:34:28 +01:00
Marc Rousavy
03b9246afe
Devops: KTLint to lint Kotlin code (#6)
* Adds KTLint as a GitHub action
* Adds KTLint to the gradle project for IDE integration
* Adds .editorconfig to configure KTLint (android/)
2021-02-26 10:56:20 +01:00
Marc Rousavy
c1a679bf2a Merge Validate JS into single job 2021-02-23 14:52:41 +01:00
Marc Rousavy
4277907af9 Update validate-js.yml 2021-02-23 14:49:17 +01:00
Marc Rousavy
c2908e12e1 Use yarn cache dir for correct caching 2021-02-23 14:46:11 +01:00
Marc Rousavy
e8aa9d81c2 Add cache action 2021-02-23 14:43:23 +01:00
Marc Rousavy
da514bb99b Update validate-js.yml 2021-02-23 14:40:14 +01:00
Marc Rousavy
915492f108 Update validate-js.yml 2021-02-23 14:39:54 +01:00
Marc Rousavy
371b602d3a Rename jobs 2021-02-23 14:35:55 +01:00
Marc Rousavy
1cb3a63557 Update validate-js.yml 2021-02-23 14:34:46 +01:00
Marc Rousavy
338e7efa1e Rename 2021-02-23 14:29:59 +01:00
Marc Rousavy
1747c9a1c2 Run TypeScript again 2021-02-23 14:27:16 +01:00
Marc Rousavy
96b9ca666e Update validate-typescript.yml 2021-02-23 14:22:05 +01:00
Marc Rousavy
27ec27abcd Run lint through formatter 2021-02-23 14:17:10 +01:00
Marc Rousavy
3a8ba79a0c Update validate-typescript.yml 2021-02-23 14:12:57 +01:00
Marc Rousavy
f05c5d9f6e Update validate-kotlin.yml 2021-02-23 14:12:17 +01:00
Marc Rousavy
626d69f455 Update validate-typescript.yml 2021-02-23 14:11:33 +01:00
Marc Rousavy
0885e6ef20 Update validate-kotlin.yml 2021-02-23 14:08:10 +01:00