Skip to content

ci: convert ADO PR checks to Github Actions #2590

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 24 commits into
base: main
Choose a base branch
from

Conversation

Saadnajmi
Copy link
Collaborator

@Saadnajmi Saadnajmi commented Jul 30, 2025

Summary:

Move over the remaining jobs from Azure Pipelines to Github Actions. This includes porting over the commented out integration tests. Delete most of the Azure Pipelines code. What should be left is just the release pipeline.

Test Plan:

@Saadnajmi Saadnajmi requested a review from a team as a code owner July 30, 2025 18:28
@Saadnajmi Saadnajmi marked this pull request as draft July 30, 2025 18:28
@Saadnajmi Saadnajmi changed the title ci: Convert PR jobs to Github Actions ci: convert ADO PR checks to Github Actions Aug 1, 2025
@Saadnajmi Saadnajmi marked this pull request as ready for review August 1, 2025 16:15
@Saadnajmi
Copy link
Collaborator Author

@copilot make test-react-native-macos-init and test-react-native-test-app-integration only run on *-stable branches, with a comment that once we are set up to release nightlies, we can test on main.

@Saadnajmi Saadnajmi requested a review from Copilot August 8, 2025 02:12
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR migrates the CI/CD pipeline from Azure DevOps Pipelines to GitHub Actions while retaining the Azure release pipeline. The migration includes converting build, test, and integration jobs to GitHub Actions workflows with improved Verdaccio server handling and streamlined toolchain setup.

  • Converts PR checks, JavaScript tests, and build/test jobs from Azure Pipelines to GitHub Actions
  • Introduces reusable workflow patterns and a centralized toolchain setup action
  • Enhances Verdaccio server startup reliability with better error handling and timeout management

Reviewed Changes

Copilot reviewed 29 out of 29 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
.github/workflows/microsoft-pr.yml Updates main PR workflow to use new toolchain action and adds JavaScript tests, RNTester builds, and integration tests
.github/workflows/microsoft-test-react-native-macos-init.yml New workflow for testing react-native-macos initialization with Verdaccio setup
.github/workflows/microsoft-react-native-test-app-integration.yml New workflow for react-native-test-app integration testing
.github/workflows/microsoft-build-rntester.yml New workflow for building RNTester across multiple platforms and configurations
.github/actions/microsoft-setup-toolchain/action.yml New reusable action for consistent toolchain setup across workflows
.ado/scripts/waitForVerdaccio.mjs Enhanced Verdaccio startup script with better error handling and ping endpoint usage
Various .ado/ files Removed Azure DevOps templates, jobs, and configuration files
Comments suppressed due to low confidence (2)

.ado/scripts/verdaccio.sh:15

  • The line calling waitForVerdaccio.mjs is removed from verdaccio.sh, but the new GitHub Actions workflows still call this script with the 'init' command, expecting it to wait for Verdaccio. This will cause the workflows to proceed before Verdaccio is ready.
    scripts_root=$(cd -P "$(dirname $0)" && pwd)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants