From 7112c5fd7ae5d01ee6d8bcd5bf3f298fd71af8e3 Mon Sep 17 00:00:00 2001 From: Alex Hunt Date: Thu, 5 Feb 2026 11:06:06 -0800 Subject: [PATCH] Split build_js_types from lint action (#55426) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/55426 Changelog: [Internal] Reviewed By: cortinico Differential Revision: D92417806 fbshipit-source-id: d7729d9589944579bf9cb1b592183f3e38a4c0c8 --- .github/actions/lint/action.yml | 6 ------ .github/workflows/test-all.yml | 23 +++++++++++++++++++++-- 2 files changed, 21 insertions(+), 8 deletions(-) diff --git a/.github/actions/lint/action.yml b/.github/actions/lint/action.yml index 0956dea7bef..d7c0c8cfa2a 100644 --- a/.github/actions/lint/action.yml +++ b/.github/actions/lint/action.yml @@ -35,9 +35,3 @@ runs: - name: Lint markdown shell: bash run: yarn run lint-markdown - - name: Build types - shell: bash - run: yarn build-types --skip-snapshot - - name: Run typescript check of generated types - shell: bash - run: yarn test-generated-typescript diff --git a/.github/workflows/test-all.yml b/.github/workflows/test-all.yml index 3e78c4620e0..864be546b41 100644 --- a/.github/workflows/test-all.yml +++ b/.github/workflows/test-all.yml @@ -512,6 +512,23 @@ jobs: - name: Run all the linters uses: ./.github/actions/lint + build_js_types: + runs-on: ubuntu-latest + needs: lint + steps: + - name: Checkout + uses: actions/checkout@v6 + - name: Setup Node.js + uses: ./.github/actions/setup-node + - name: Install dependencies + uses: ./.github/actions/yarn-install + - name: Build react-native package types + shell: bash + run: yarn build-types --skip-snapshot + - name: Validate generated types + shell: bash + run: yarn test-generated-typescript + build_debugger_shell: runs-on: ubuntu-latest needs: check_code_changes @@ -519,13 +536,15 @@ jobs: steps: - name: Checkout uses: actions/checkout@v6 - - name: Setup node.js + - name: Setup Node.js uses: ./.github/actions/setup-node - - name: Run yarn install + - name: Install dependencies uses: ./.github/actions/yarn-install - name: Build packages + shell: bash run: yarn build - name: Verify debugger-shell build + shell: bash run: node scripts/debugger-shell/build-binary.js # This job should help with the E2E flakyness.