Skip to content

Commit

Permalink
Merge tag 'v4.3.2'
Browse files Browse the repository at this point in the history
Release 4.3.2
  • Loading branch information
bnbitumashyk committed Sep 20, 2024
2 parents d746c2d + 17f4942 commit 96ae47e
Show file tree
Hide file tree
Showing 114 changed files with 9,439 additions and 10,876 deletions.
31 changes: 20 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,20 @@ concurrency:

on:
workflow_dispatch:
pull_request:
types: [labeled, synchronize]
inputs:
force:
description: 'force build'
required: false
type: boolean
default: false
build_ios:
description: 'build iOS'
required: false
type: boolean
default: true

jobs:
build-android:
if: ${{ contains(github.event.pull_request.labels.*.name, 'ci:dep-update') }}
runs-on: ubuntu-latest
env:
TURBO_CACHE_DIR: .turbo/android
Expand Down Expand Up @@ -70,8 +78,8 @@ jobs:

- name: Build example for Android
run: |
yarn turbo run build:android --cache-dir="${{ env.TURBO_CACHE_DIR }}"
yarn turbo run build:android --cache-dir="${{ env.TURBO_CACHE_DIR }}" --force="${{ inputs.force }}"
- name: Upload APK
uses: actions/upload-artifact@v3
with:
Expand All @@ -81,7 +89,7 @@ jobs:
if-no-files-found: error

build-ios:
if: ${{ contains(github.event.pull_request.labels.*.name, 'ci:dep-update') }}
if: ${{ inputs.build_ios }}
runs-on: macos-latest
env:
TURBO_CACHE_DIR: .turbo/ios
Expand All @@ -92,7 +100,7 @@ jobs:

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

- name: Setup fastlane
run: |
brew install fastlane
Expand All @@ -106,6 +114,7 @@ jobs:
${{ runner.os }}-turborepo-ios-
- name: Check turborepo cache for iOS
if: ${{ !inputs.force }}
run: |
TURBO_CACHE_STATUS=$(node -p "($(yarn turbo run build:ios --cache-dir="${{ env.TURBO_CACHE_DIR }}" --dry=json)).tasks.find(t => t.task === 'build:ios').cache.status")
Expand All @@ -125,7 +134,7 @@ jobs:
${{ runner.os }}-cocoapods-0-
- name: Install cocoapods
if: env.turbo_cache_hit != 1 && steps.cocoapods-cache.outputs.cache-hit != 'true'
if: ${{ inputs.force }} || (env.turbo_cache_hit != 1 && steps.cocoapods-cache.outputs.cache-hit != 'true')
run: |
yarn pod-install example/ios
Expand Down Expand Up @@ -166,8 +175,8 @@ jobs:
- name: Build example for iOS
run: |
yarn turbo run build:ios --cache-dir="${{ env.TURBO_CACHE_DIR }}"
yarn turbo run build:ios --cache-dir="${{ env.TURBO_CACHE_DIR }}" --force="${{ inputs.force }}"
- name: Upload IPA
uses: actions/upload-artifact@v3
with:
Expand All @@ -186,7 +195,7 @@ jobs:

notification:
runs-on: ubuntu-latest
needs: [ build-android, build-ios ]
needs: [build-android, build-ios]
steps:
- run: |
curl -X POST "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=${{ secrets.WECHAT_KEY }}" -d '{"msgtype":"text","text":{"content":"ReactNative Example:\n${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\nDownload Link:\nhttps://nightly.link/${{ github.repository }}/actions/runs/${{ github.run_id }}"}}'
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
lint:
strategy:
matrix:
platform: [ ubuntu, windows ]
platform: [ubuntu, windows]
runs-on: ${{ matrix.platform }}-latest
steps:
- name: Checkout
Expand All @@ -35,7 +35,7 @@ jobs:
test:
strategy:
matrix:
platform: [ ubuntu, windows ]
platform: [ubuntu, windows]
runs-on: ${{ matrix.platform }}-latest
steps:
- name: Checkout
Expand All @@ -50,7 +50,7 @@ jobs:
build-library:
strategy:
matrix:
platform: [ ubuntu, windows ]
platform: [ubuntu, windows]
runs-on: ${{ matrix.platform }}-latest
steps:
- name: Checkout
Expand All @@ -65,8 +65,8 @@ jobs:
test-android:
strategy:
matrix:
newArch: [ true, false ]
runs-on: macos-latest
newArch: [true, false]
runs-on: macos-12
env:
TURBO_CACHE_DIR: .turbo/android
ORG_GRADLE_PROJECT_newArchEnabled: ${{ matrix.newArch }}
Expand Down Expand Up @@ -146,7 +146,7 @@ jobs:
test-ios:
strategy:
matrix:
newArch: [ 1, 0 ]
newArch: [1, 0]
runs-on: macos-latest
env:
TURBO_CACHE_DIR: .turbo/ios
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
generate-code: false
generate-comment: true
generate-comment-command: |
sh generate-prepare.sh
sh generate-comment.sh
- name: Create pull request
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gitleaks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: gitleaks/gitleaks-action@v2
- uses: gitleaks/gitleaks-action@v2.3.4
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }} # Only required for Organizations, not personal accounts.
1 change: 1 addition & 0 deletions .github/workflows/terra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
generate-code: true
generate-comment: true
generate-code-command: |
sh generate-prepare.sh
sh generate-code.sh
generate-comment-command: |
sh generate-comment.sh
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ build/
!default.perspectivev3
xcuserdata
*.xccheckout
*.xcode.env.local
*.moved-aside
DerivedData
*.hmap
Expand Down Expand Up @@ -80,4 +81,4 @@ lib/
# Custom
*.xcframework
ios/AgoraRtcWrapper.podspec
appId.*
appId.*
2 changes: 1 addition & 1 deletion .gitleaks.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
description = "file allow lists"
paths = [
'''gitleaks.toml''',
'''plugin-(.*?)-tool.cjs''',
'''plugin-(.*?)-tools.cjs''',
'''yarn-(.*?)(.cjs)''',
]

Expand Down
13 changes: 13 additions & 0 deletions .yarn/patches/eslint-npm-8.56.0-6eec398a41.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/lib/linter/linter.js b/lib/linter/linter.js
index f74d0ecd13f2e240aa581d6c36bf382c76628bf0..0d3a77c25c445f8714d6fe15c2da03cb96d117d8 100644
--- a/lib/linter/linter.js
+++ b/lib/linter/linter.js
@@ -46,7 +46,7 @@ const { RuleValidator } = require("../config/rule-validator");
const { assertIsRuleOptions, assertIsRuleSeverity } = require("../config/flat-config-schema");
const { normalizeSeverityToString } = require("../shared/severity");
const debug = require("debug")("eslint:linter");
-const MAX_AUTOFIX_PASSES = 10;
+const MAX_AUTOFIX_PASSES = Number.MAX_VALUE;
const DEFAULT_PARSER_NAME = "espree";
const DEFAULT_ECMA_VERSION = 5;
const commentParser = new ConfigCommentParser();
Loading

0 comments on commit 96ae47e

Please sign in to comment.