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.