Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
95 changes: 8 additions & 87 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ jobs:

build-android:
runs-on: ubuntu-latest
strategy:
matrix:
bundler: [metro, repack]
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -71,7 +74,7 @@ jobs:
NightlyDeploy \
--template=default \
--platform=ios --platform=android \
--bundler=metro \
--bundler=${{ matrix.bundler }} \
--remote-cache-provider=github-actions

cd NightlyDeploy
Expand All @@ -86,6 +89,9 @@ jobs:

build-ios:
runs-on: macos-latest
strategy:
matrix:
bundler: [metro, repack]
steps:
- uses: actions/checkout@v4

Expand All @@ -109,7 +115,7 @@ jobs:
NightlyDeploy \
--template=default \
--platform=ios --platform=android \
--bundler=metro \
--bundler=${{ matrix.bundler }} \
--remote-cache-provider=github-actions

cd NightlyDeploy
Expand All @@ -122,88 +128,3 @@ jobs:
cd ../NightlyDeploy
pnpm rnef build:ios --verbose \
--destination=simulator

build-android-repack:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup
uses: ./.github/actions/setup-node

- name: Install Java
uses: actions/setup-java@v4
with:
java-version: 17
distribution: adopt
cache: gradle

- name: Build framework
run: pnpm build

- name: Publish framework to Verdaccio
run: |
pnpm verdaccio:init &
npx [email protected] http://localhost:4873
pnpm verdaccio:publish

- name: Deploy template
run: |
cd ..
NPM_CONFIG_REGISTRY=http://localhost:4873 pnpm create @rnef/app \
--registry http://localhost:4873 \
NightlyDeploy \
--template=default \
--platform=ios --platform=android \
--bundler=repack \
--remote-cache-provider=github-actions

cd NightlyDeploy
NPM_CONFIG_REGISTRY=http://localhost:4873 \
NPM_CONFIG_NODE_LINKER=hoisted \
pnpm install

- name: Build Androidtemplate
run: |
cd ../NightlyDeploy
pnpm rnef build:android


build-ios-repack:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4

- name: Setup
uses: ./.github/actions/setup-node

- name: Build framework
run: pnpm build

- name: Publish framework to Verdaccio
run: |
pnpm verdaccio:init &
npx [email protected] http://localhost:4873
pnpm verdaccio:publish

- name: Deploy template
run: |
cd ..
NPM_CONFIG_REGISTRY=http://localhost:4873 pnpm create @rnef/app \
--registry http://localhost:4873 \
NightlyDeploy \
--template=default \
--platform=ios --platform=android \
--bundler=repack \
--remote-cache-provider=github-actions

cd NightlyDeploy
NPM_CONFIG_REGISTRY=http://localhost:4873 \
NPM_CONFIG_NODE_LINKER=hoisted \
pnpm install

- name: Build iOS template
run: |
cd ../NightlyDeploy
pnpm rnef build:ios --verbose \
--destination=simulator