From 6c244765136c77862e8ad99bd4b91ea3f06cb31e Mon Sep 17 00:00:00 2001 From: Ivan Sekovanikj Date: Wed, 24 Jun 2026 14:41:05 +0200 Subject: [PATCH 1/4] chore: move check and sample distribution runners to self hosted --- .github/workflows/check-pr.yml | 2 +- .github/workflows/sample-distribution.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-pr.yml b/.github/workflows/check-pr.yml index 9d2dc40ad1..3c848bb547 100644 --- a/.github/workflows/check-pr.yml +++ b/.github/workflows/check-pr.yml @@ -10,7 +10,7 @@ on: jobs: check_pr: - runs-on: ubuntu-latest + runs-on: public strategy: matrix: node-version: [24.x] diff --git a/.github/workflows/sample-distribution.yml b/.github/workflows/sample-distribution.yml index 1a54f63dac..9433ef330a 100644 --- a/.github/workflows/sample-distribution.yml +++ b/.github/workflows/sample-distribution.yml @@ -61,7 +61,7 @@ jobs: build_and_deploy_android_firebase: name: Build SampleApp Android and Deploy-${{ github.ref == 'refs/heads/develop' }} - runs-on: ubuntu-latest + runs-on: public strategy: matrix: node-version: [24.x] From b799f8ac6ff7c274d772d2ea09b436e3be4de1b5 Mon Sep 17 00:00:00 2001 From: Ivan Sekovanikj Date: Wed, 24 Jun 2026 14:45:34 +0200 Subject: [PATCH 2/4] fix: remove sudo for self hosted --- .github/workflows/check-pr.yml | 2 +- .github/workflows/sample-distribution.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check-pr.yml b/.github/workflows/check-pr.yml index 3c848bb547..086200e591 100644 --- a/.github/workflows/check-pr.yml +++ b/.github/workflows/check-pr.yml @@ -26,7 +26,7 @@ jobs: cache: 'yarn' cache-dependency-path: 'yarn.lock' - name: Install Linux build tools - run: sudo apt-get update && sudo apt-get install -y build-essential + run: apt-get update && apt-get install -y build-essential - name: Install && Build - SDK and Sample App uses: ./.github/actions/install-and-build-sdk - name: Lint diff --git a/.github/workflows/sample-distribution.yml b/.github/workflows/sample-distribution.yml index 9433ef330a..e4ef909335 100644 --- a/.github/workflows/sample-distribution.yml +++ b/.github/workflows/sample-distribution.yml @@ -74,7 +74,7 @@ jobs: cache: 'yarn' cache-dependency-path: 'yarn.lock' - name: Install Linux build tools - run: sudo apt-get update && sudo apt-get install -y build-essential + run: apt-get update && apt-get install -y build-essential - uses: actions/setup-java@v5 with: distribution: 'zulu' From ac4399a483b20e59cd38bf570a98d36f81a7fb99 Mon Sep 17 00:00:00 2001 From: Ivan Sekovanikj Date: Wed, 24 Jun 2026 14:48:32 +0200 Subject: [PATCH 3/4] fix: remove step --- .github/workflows/check-pr.yml | 2 -- .github/workflows/sample-distribution.yml | 2 -- 2 files changed, 4 deletions(-) diff --git a/.github/workflows/check-pr.yml b/.github/workflows/check-pr.yml index 086200e591..69de0440a0 100644 --- a/.github/workflows/check-pr.yml +++ b/.github/workflows/check-pr.yml @@ -25,8 +25,6 @@ jobs: node-version: ${{ matrix.node-version }} cache: 'yarn' cache-dependency-path: 'yarn.lock' - - name: Install Linux build tools - run: apt-get update && apt-get install -y build-essential - name: Install && Build - SDK and Sample App uses: ./.github/actions/install-and-build-sdk - name: Lint diff --git a/.github/workflows/sample-distribution.yml b/.github/workflows/sample-distribution.yml index e4ef909335..86a9911f37 100644 --- a/.github/workflows/sample-distribution.yml +++ b/.github/workflows/sample-distribution.yml @@ -73,8 +73,6 @@ jobs: node-version: ${{ matrix.node-version }} cache: 'yarn' cache-dependency-path: 'yarn.lock' - - name: Install Linux build tools - run: apt-get update && apt-get install -y build-essential - uses: actions/setup-java@v5 with: distribution: 'zulu' From aac16232a4b7960cd99c4a60674f8123dfba9129 Mon Sep 17 00:00:00 2001 From: Ivan Sekovanikj Date: Wed, 24 Jun 2026 15:55:02 +0200 Subject: [PATCH 4/4] fix: cap worker count on ci --- package/jest.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/jest.config.js b/package/jest.config.js index 4a01b0d17a..2adb1e9ce8 100644 --- a/package/jest.config.js +++ b/package/jest.config.js @@ -2,6 +2,8 @@ module.exports = { globalSetup: './jest-global-setup.js', + // cap worker count on CI + ...(process.env.CI ? { maxWorkers: 2 } : {}), moduleNameMapper: { 'mock-builders(.*)$': '/src/mock-builders$1', },