Skip to content

fix(tooling): migrate to use github-actions#1467

Open
Shreyas281299 wants to merge 15 commits into
webex:masterfrom
Shreyas281299:github-action-movement
Open

fix(tooling): migrate to use github-actions#1467
Shreyas281299 wants to merge 15 commits into
webex:masterfrom
Shreyas281299:github-action-movement

Conversation

@Shreyas281299
Copy link
Copy Markdown
Contributor

@Shreyas281299 Shreyas281299 commented Jun 1, 2026

COMPLETES #https://jira-eng-gpk2.cisco.com/jira/browse/SPARK-818673

This pull request addresses

Migrating CI/CD from CircleCI to GitHub Actions while removing temporary fork-testing behavior and ensuring release-side effects are ordered safely.

by making the following changes

  • Added and refined .github/workflows/pull-request.yml with validated-label gating, cached dependency reuse, and restored strict integration test behavior.
  • Refactored .github/workflows/deploy.yml to run on pushes to master, split CDN build/publish concerns, and enforce pushing release commit/tags only after successful npm publish.
  • Removed temporary dry-run/testing deploy paths and deleted the stale .github/pipeline-guide.md document.

Change Type

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Tooling change
  • Internal code refactor

The following scenarios were tested

  • The testing is done with the amplify link
  • Triggered PR workflow runs in fork and validated: dependency cache restore flow, lint/jest/integration job orchestration, and label gate behavior.
  • Triggered deploy workflow runs in fork and validated: prepare/cache path, separated job graph, and publish step ordering guards.
  • Verified workflow YAML updates and GitHub Actions expression validity via repository lint/diagnostics.

The GAI Coding Policy And Copyright Annotation Best Practices

  • GAI was not used (or, no additional notation is required)
  • Code was generated entirely by GAI
  • GAI was used to create a draft that was subsequently customized or modified
  • Coder created a draft manually that was non-substantively modified by GAI (e.g., refactoring was performed by GAI on manually written code)
  • Tool used for AI assistance (GitHub Copilot / Other - specify)
    • Github Copilot
    • Other - Please Specify
  • This PR is related to
    • Feature
    • Defect fix
    • Tech Debt
    • Automation

Checklist before merging

  • I have not skipped any automated checks
  • All existing and new tests passed
  • I have updated the testing document

Shreyas281299 and others added 15 commits May 29, 2026 14:47
Extract dependency artifacts at repository root and use npm run argument forwarding for the build step so integration build jobs can resolve binaries reliably in GitHub Actions.

Co-authored-by: Cursor <cursoragent@cursor.com>
Replace artifact-based node_modules transfer with actions/cache save/restore so binaries in .bin remain executable across jobs and lint/build steps can resolve CLI tools.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add workflow_dispatch mode input and gate all publishing side effects behind release mode so forks can validate deploy build logic without pushing tags, publishing npm packages, or writing to AWS.

Co-authored-by: Cursor <cursoragent@cursor.com>
Mark Chrome and Firefox journey jobs as non-blocking and cap each integration test step at 5 minutes to keep PR feedback responsive.

Co-authored-by: Cursor <cursoragent@cursor.com>
Separate mode resolution, npm publish, CDN deploy, and dry-run build into dedicated jobs so fork testing is safer and release side effects are isolated.

Co-authored-by: Cursor <cursoragent@cursor.com>
Restructure deploy workflow into separate npm and CDN build/publish jobs, keep fork-safe dry-run mode, and route npm publishing through publish:components without duplicate standalone npm build steps.

Co-authored-by: Cursor <cursoragent@cursor.com>
Remove NODE_ENV=production from the prepare job so npm ci caches full dependencies required by downstream build and release tooling.

Co-authored-by: Cursor <cursoragent@cursor.com>
Drop the no-op build_npm stage and have publish_npm depend directly on prepare while keeping release-mode gating intact.

Co-authored-by: Cursor <cursoragent@cursor.com>
Move commit/tag push to run after publish:components so git refs are updated only when npm publish succeeds.

Co-authored-by: Cursor <cursoragent@cursor.com>
Finalize deploy workflow for master push releases by removing workflow_dispatch dry-run mode and related conditional test scaffolding.

Co-authored-by: Cursor <cursoragent@cursor.com>
Delete the stale pipeline migration guide now that workflow behavior has been consolidated directly in the deploy and pull-request workflows.

Co-authored-by: Cursor <cursoragent@cursor.com>
@aws-amplify-us-east-2
Copy link
Copy Markdown

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-1467.d1l3lxgizk4iez.amplifyapp.com

@Shreyas281299 Shreyas281299 reopened this Jun 1, 2026
@Shreyas281299 Shreyas281299 changed the title GitHub action movement fix(tooling): migrate to use github-actions Jun 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant