-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: restructure setup * ci: fix native workflows * ci: add corepack enable to setup * ci: align build naming * ci: separate linting jobs * ci: add expo builds * chore: use plugin source in expo example * ci: add setup-java to expo android build * ci: remove unused label action * ci: remove unused stale * refactor: move pull_request_template.md * ci: add dependabot for actions * fix: lint ids * ci: remove expo build * ci: install brew before yarn * ci: add plugin commands * Revert "ci: install brew before yarn" * ci: always clear detox cache * ci: call detox through yarn * docs: update badges * chore: improve scripts * ci: reorder tsc and eslint
- Loading branch information
1 parent
75ceccb
commit 2ed0176
Showing
15 changed files
with
222 additions
and
205 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Setup | ||
description: Setup Node.js and install dependencies | ||
|
||
inputs: | ||
registry-url: | ||
description: Optional registry to set up for auth. | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: .nvmrc | ||
registry-url: ${{ inputs.registry-url }} | ||
|
||
- name: Enable Corepack for yarn v4 | ||
run: corepack enable | ||
shell: bash | ||
|
||
- name: Cache dependencies | ||
id: yarn-cache | ||
uses: actions/cache@v4 | ||
with: | ||
path: | | ||
**/node_modules | ||
.yarn/install-state.gz | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}-${{ hashFiles('**/package.json', '!node_modules/**') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }} | ||
${{ runner.os }}-yarn- | ||
- name: Install dependencies | ||
if: steps.yarn-cache.outputs.cache-hit != 'true' | ||
run: yarn install --immutable | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Build React Native Android | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
|
||
defaults: | ||
run: | ||
working-directory: ./packages/react-native-app | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup | ||
uses: ./.github/actions/setup | ||
|
||
- name: Setup Azul Zulu OpenJDK | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: zulu | ||
java-version: 21 | ||
|
||
- name: Build Android | ||
run: ./gradlew assemble | ||
working-directory: packages/react-native-app/android |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.