Skip to content

Conversation

@just-jeb
Copy link
Owner

This PR revamps the CI/CD pipeline:

Changes

New Architecture

  • Build job: Compiles all packages and uploads dist artifacts
  • Discover job: Dynamically discovers integration tests from packages/*/tests/integration.js
  • Integration job: Runs tests in parallel using GHA matrix strategy (41 tests total)
  • Publish job: Unchanged, runs on master/dispatch

New Files

  • packages/*/tests/integration.js - Test definitions for each package
  • packages/jest/tests/validate.js - Jest output validation script
  • packages/bazel/tests/validate.js - Bazel output validation script
  • scripts/discover-tests.js - Discovers tests and generates GHA matrix
  • docs/CI_ARCHITECTURE.md - Architecture documentation
  • `docs/ACT_LOCAL_TESTING.md$ - Local testing guide

Deleted Files

  • scripts/run-ci.sh - Replaced by GHA workflow
  • scripts/local-registry.sh - No longer needed
  • scripts/verdaccio.yaml - No longer needed
  • packages/*/scripts/ci.sh - Replaced by integration.js manifests

Other Changes

  • Removed explicit port configurations from example apps (use defaults)
  • Added Xvfb support for Cypress tests
  • Added corepack enable for yarn support

Testing

  • All tests verified locally
  • Waiting for GHA to run full workflow

- Add scripts/run-local-tests.js for native parallel test execution
- Add port: 0 to all angular.json serve options for automatic port selection
- Add test:local npm script to package.json
- Update ACT_LOCAL_TESTING.md with local runner documentation

The local runner uses the same test definitions as CI (packages/*/tests/integration.js)
and runs them in parallel with automatic port isolation.
- Remove ACT_LOCAL_TESTING.md (local testing now uses native runner)
- Update CI_ARCHITECTURE.md with local test runner documentation
- Update port configuration section to describe port: 0 approach
- Add run-local-tests.js to key files
@just-jeb just-jeb merged commit 8de5b74 into master Jan 16, 2026
44 checks passed
@just-jeb just-jeb deleted the ci-revamp branch January 16, 2026 16:31
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