Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @krystofwoldrich @lucas-zimerman @antonis
* @alwx @antonis @lucas-zimerman
13 changes: 6 additions & 7 deletions .github/ISSUE_TEMPLATE/BUG_REPORT.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: '🐞 Bug Report'
description: "Tell us about something that's not working the way we (probably) intend."
labels: ['Platform: React-Native', 'Type: 🪲 Bug']
type: Bug
labels: ['React-Native', 'Bug']
body:
- type: dropdown
id: environment
Expand Down Expand Up @@ -53,11 +52,11 @@ body:
'Output of the command `npx react-native@latest info` or manully describe your development environment?'
value: |-
````
⬇ Place the `npx react-native@latest info` output here. ⬇
⬇ Place the `npx react-native@latest info` output here. ⬇




````

- type: textarea
Expand Down
3 changes: 1 addition & 2 deletions .github/ISSUE_TEMPLATE/FEATURE_REQUEST.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: 💡 Feature Request
description: Tell us about a problem our SDK could solve but doesn't.
labels: ['Platform: React-Native', 'enhancement']
type: Feature
labels: ['React-Native', 'Feature']
body:
- type: textarea
id: problem
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/maintainer-blank.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Blank Issue
description: Blank Issue. Reserved for maintainers.
labels: ["Platform: React-Native"]
labels: ['React-Native']
body:
- type: textarea
id: description
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/add-platform-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ jobs:
steps:
- uses: andymckay/labeler@e6c4322d0397f3240f0e7e30a33b5c5df2d39e90 # [email protected]
with:
add-labels: 'Platform: React-Native'
add-labels: 'React-Native'
repo-token: ${{ secrets.GITHUB_TOKEN }}
70 changes: 52 additions & 18 deletions .github/workflows/buildandtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ jobs:
needs: [diff_check]
if: ${{ needs.diff_check.outputs.skip_ci != 'true' }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- run: npm i -g corepack
- uses: actions/setup-node@v4
- uses: actions/setup-node@v5
with:
package-manager-cache: false
node-version: 18
cache: 'yarn'
cache-dependency-path: yarn.lock
Expand All @@ -40,15 +41,43 @@ jobs:
needs: [diff_check]
if: ${{ needs.diff_check.outputs.skip_ci != 'true' }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- run: npm i -g corepack
- uses: actions/setup-node@v4
- uses: actions/setup-node@v5
with:
package-manager-cache: false
node-version: 18
cache: 'yarn'
cache-dependency-path: yarn.lock
- name: Install Dependencies
run: yarn install

# Default of ubuntu and apt packages are too old compared to macos packages.
# This is required for using a newer version of clang-format.
- name: Setup clang-format V20
run: |
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" 20
sudo apt-get install -y clang-20 clang-format-20 lld-20 lldb-20

- name: Set clang-format V20 as default
run: |
sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-20 200
sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-20 200
sudo update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-20 200
clang --version
clang-format --version

- name: Install Swiftly
run: |
SWIFTLY_FILE="swiftly-$(uname -m).tar.gz"
curl -sL https://download.swift.org/swiftly/linux/swiftly-x86_64.tar.gz -o $SWIFTLY_FILE
tar zxf $SWIFTLY_FILE

./swiftly init --quiet-shell-followup
. "${SWIFTLY_HOME_DIR:-$HOME/.local/share/swiftly}/env.sh"
hash -r
sudo apt-get -y install libcurl4-openssl-dev

- name: Lint
run: yarn lint

Expand All @@ -58,10 +87,11 @@ jobs:
needs: [diff_check]
if: ${{ needs.diff_check.outputs.skip_ci != 'true' }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- run: npm i -g corepack
- uses: actions/setup-node@v4
- uses: actions/setup-node@v5
with:
package-manager-cache: false
node-version: 18
cache: 'yarn'
cache-dependency-path: yarn.lock
Expand All @@ -81,10 +111,11 @@ jobs:
needs: [diff_check]
if: ${{ needs.diff_check.outputs.skip_ci != 'true' }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- run: npm i -g corepack
- uses: actions/setup-node@v4
- uses: actions/setup-node@v5
with:
package-manager-cache: false
node-version: 18
cache: 'yarn'
cache-dependency-path: yarn.lock
Expand Down Expand Up @@ -124,22 +155,23 @@ jobs:
env:
YARN_ENABLE_IMMUTABLE_INSTALLS: false
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- run: npm i -g corepack
- uses: actions/setup-node@v4
- uses: actions/setup-node@v5
with:
package-manager-cache: false
node-version: 18
cache: 'yarn'
cache-dependency-path: yarn.lock
- name: Install Dependencies
run: yarn install
- name: Download dist
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5
with:
name: dist
path: packages/core/dist
- name: Download ts3.8
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5
with:
name: ts3.8
path: packages/core/ts3.8
Expand All @@ -154,22 +186,23 @@ jobs:
needs: [job_build, diff_check]
if: ${{ needs.diff_check.outputs.skip_ci != 'true' }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- run: npm i -g corepack
- uses: actions/setup-node@v4
- uses: actions/setup-node@v5
with:
package-manager-cache: false
node-version: 18
cache: 'yarn'
cache-dependency-path: yarn.lock
- name: Install Dependencies
run: yarn install
- name: Download dist
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5
with:
name: dist
path: packages/core/dist
- name: Download Expo Plugin
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5
with:
name: expo-plugin
path: packages/core/plugin/build
Expand All @@ -188,10 +221,11 @@ jobs:
platform: ['ios', 'android']
dev: [true, false]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- run: npm i -g corepack
- uses: actions/setup-node@v4
- uses: actions/setup-node@v5
with:
package-manager-cache: false
node-version: 18
cache: 'yarn'
cache-dependency-path: yarn.lock
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/changes-in-high-risk-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
high_risk_code: ${{ steps.changes.outputs.high_risk_code }}
high_risk_code_files: ${{ steps.changes.outputs.high_risk_code_files }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Get changed files
id: changes
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
Expand All @@ -34,7 +34,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Comment on PR to notify of changes in high risk files
uses: actions/github-script@v7
uses: actions/github-script@v8
env:
high_risk_code: ${{ needs.files-changed.outputs.high_risk_code_files }}
with:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/codegen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,15 @@ jobs:
--outputPath codegen \
--targetPlatform ios
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- run: npm i -g corepack
- uses: actions/setup-node@v4
- uses: actions/setup-node@v5
with:
package-manager-cache: false
node-version: 18
cache: 'yarn'
cache-dependency-path: yarn.lock
- uses: actions/setup-java@v4
- uses: actions/setup-java@v5
with:
java-version: '17'
distribution: "adopt"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@fca7ace96b7d713c7035871441bd52efbe39e27e # pin@v3.28.19
uses: github/codeql-action/init@16140ae1a102900babc80a33c44059580f687047 # pin@v4.30.9
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -55,7 +55,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@fca7ace96b7d713c7035871441bd52efbe39e27e # pin@v3.28.19
uses: github/codeql-action/autobuild@16140ae1a102900babc80a33c44059580f687047 # pin@v4.30.9

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
Expand All @@ -66,4 +66,4 @@ jobs:
# make bootstrap
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@fca7ace96b7d713c7035871441bd52efbe39e27e # pin@v3.28.19
uses: github/codeql-action/analyze@16140ae1a102900babc80a33c44059580f687047 # pin@v4.30.9
4 changes: 3 additions & 1 deletion .github/workflows/danger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ on:

jobs:
danger:
uses: getsentry/github-workflows/.github/workflows/danger.yml@v2
runs-on: ubuntu-latest
steps:
- uses: getsentry/github-workflows/danger@v3
Loading
Loading