ci: migrate ci workflow to github action#181
Draft
damyanpetev wants to merge 1 commit into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migrate CI from Azure Pipelines to GitHub Actions
Ports the CI pipeline from Azure Pipelines to GitHub Actions, keeping the build/test steps in a shared, reusable unit so the release pipeline can be migrated the same way later.
What changed
.github/actions/setup-build-test— the shared equivalent ofsetup-build-test-steps.yml. Installs Node, runsnpm ci, build,validate:dist, lint, installs Playwright, and runstest:ci. Exposeslicensedandverboseinputs. Both CI and the future release workflow can consume it viauses: ./.github/actions/setup-build-test..github/workflows/ci.yml— replaces.azure-pipelines/ci.yml. Runs the composite action, then publishes coverage and uploads reports.Notable translation decisions
action.yml— so checkout stays in each caller and the reusable core is everything after it.IG_LICENSED_BUILDtruthiness preserved. The build scripts treat any non-empty value (including"false") as licensed, so the env var is set to'true'only whenlicensedis true and to an empty string otherwise, matching Azure'sif eq(parameters.licensed, true)guard.verbosemaps to--loglevel verboseappended to the npm scripts, mirroring the AzureNpm@1verbose option.pull_request→masterandpush→master, plusworkflow_dispatch(exposing theverbosetoggle). Aconcurrencygroup cancels superseded PR runs while letting master-push runs complete for history.actions/upload-code-coverage@v1to surface coverage on the PR from the existing Cobertura report (coverage/cobertura-coverage.xml), and uploads the JUnit report and full coverage directory as artifacts. No third-party actions introduced.Notes / follow-ups
actions/upload-code-coverage@v1is in public preview and requires thecode-quality: writepermission (set in the workflow); the Code Coverage preview may need to be enabled for the repo/org..azure-pipelines/CI files are left in place for now and can be retired once the release pipeline is migrated too.