-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
000e826
commit 346475e
Showing
308 changed files
with
20,088 additions
and
32,011 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -4,4 +4,6 @@ build/ | |
docs/ | ||
assets/ | ||
ios/ | ||
android/ | ||
android/ | ||
expo-env.d.ts | ||
.expo |
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 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,18 @@ | ||
name: Cache cocoapods | ||
description: Handle cocoapods caching | ||
|
||
inputs: | ||
path: | ||
description: Path to the ios project | ||
default: ios | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Cache Cocapoads | ||
uses: actions/cache@v4 | ||
with: | ||
path: ${{ inputs.path }}/Pods | ||
key: ${{ runner.os }}-pods-${{ github.sha }} | ||
restore-keys: | | ||
${{ runner.os }}-pods- |
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,15 @@ | ||
# https://github.com/actions/upload-artifact#maintaining-file-permissions-and-case-sensitive-files | ||
|
||
name: Download workspace | ||
description: Restores the contents of the workspace tarball, preserving file permissions | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Download workspace | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: release-workspace | ||
- name: Extract tar workspace archive to preserve file permissions | ||
run: tar -xvf workspace.tar | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# https://github.com/actions/upload-artifact#maintaining-file-permissions-and-case-sensitive-files | ||
|
||
name: Upload workspace | ||
description: Uploads the contents of the workspace as a tarball, preserving file permissions | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Create tar workspace archive to preserve file permissions | ||
run: tar -cvf /tmp/workspace.tar . | ||
shell: bash | ||
- name: Upload workspace | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: release-workspace | ||
path: /tmp/workspace.tar |
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,22 @@ | ||
on: | ||
workflow_call: | ||
|
||
env: | ||
FORCE_COLOR: true | ||
APP_ENV: next | ||
|
||
jobs: | ||
checks: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
command: ['lint', 'test -- --ci --forceExit', 'types'] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: .node-version | ||
cache: npm | ||
- run: npm ci | ||
- run: npm run ${{ matrix.command }} |
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 |
---|---|---|
@@ -1,68 +1,39 @@ | ||
# Runs CI tasks on pull requests and pushes | ||
|
||
name: Continuous Integration | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
push: | ||
branches: | ||
- integration | ||
|
||
env: | ||
FORCE_COLOR: true | ||
APP_ENV: example | ||
|
||
jobs: | ||
checks: | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
command: ['lint', 'test -- --ci --forceExit', 'types'] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16 | ||
cache: npm | ||
|
||
- run: npm ci | ||
|
||
- run: npm run ${{ matrix.command }} | ||
uses: ./.github/workflows/checks.yml | ||
|
||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- os: macos-11 | ||
- os: macos-14 | ||
platform: ios | ||
- os: ubuntu-22.04 | ||
- os: ubuntu-latest | ||
platform: android | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: Homebrew/actions/setup-homebrew@master | ||
|
||
- uses: actions/setup-node@v2 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 16 | ||
node-version-file: .node-version | ||
cache: npm | ||
|
||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
bundler-cache: true | ||
|
||
- run: brew bundle | ||
|
||
- uses: actions/cache@v2 | ||
with: | ||
path: ios/Pods | ||
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-pods- | ||
- run: mkdir node_modules | ||
|
||
- run: npm ci | ||
|
||
- run: npm run build:${{ matrix.platform }} | ||
- uses: ./.github/actions/cache-pods | ||
if: matrix.platform == 'ios' | ||
- uses: actions/setup-java@v4 | ||
if: matrix.platform == 'android' | ||
with: | ||
distribution: temurin | ||
java-version-file: .java-version | ||
- run: npm exec expo -- prebuild --platform ${{ matrix.platform }} | ||
- run: npx react-native build-${{ matrix.platform }} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.