Skip to content

Add CI/CD pipeline with GitHub Actions#166

Merged
Mosas2000 merged 2 commits intomainfrom
ci/add-github-actions-pipeline
Feb 26, 2026
Merged

Add CI/CD pipeline with GitHub Actions#166
Mosas2000 merged 2 commits intomainfrom
ci/add-github-actions-pipeline

Conversation

@Mosas2000
Copy link
Copy Markdown
Owner

Closes #48

Adds a GitHub Actions CI workflow that runs on every push to main and on pull requests.

Pipeline jobs:

  • Clarinet Check - validates contract syntax
  • Contract Tests - runs vitest unit tests on simnet (23 tests)
  • Frontend Lint - runs eslint on frontend source
  • Frontend Tests - runs component and utility tests (19 tests)
  • Frontend Build - verifies production build and uploads artifact

Also scopes root vitest config to only include tests/**/*.test.ts so it does not pick up frontend tests that require jsdom.

Root vitest was picking up frontend test files from frontend/src/test/
which fail in the Clarinet environment. Add explicit include pattern
to restrict root test runner to tests/**/*.test.ts only.
Pipeline runs on push to main and pull requests with four jobs:
- clarinet check for contract syntax validation
- contract unit tests via vitest on simnet
- frontend lint with eslint
- frontend tests and build verification

Build artifacts are uploaded for deployment workflows.
@Mosas2000 Mosas2000 merged commit c6cb892 into main Feb 26, 2026
1 of 3 checks passed
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.

No CI/CD pipeline configuration for automated testing and deployment

1 participant