Contracts (Hardhat/Solidity)
8 pipelines
Reusable workflow
Consumer template
Contracts Develop Build
Template: Build + test on push to develop Copy to: .github/workflows/develop-build.yml Triggers on push to develop branch. Flow: build + test (no ECR push, no deploy). No AWS secrets required for this
Contracts Feature Build
Template: Build on feature/bugfix branches Copy to: .github/workflows/feature-build.yml Triggers on every push to feature/* or bugfix/* branches Runs: compile + contract size check (fast feedback, no
Contracts Main Deploy
Template: Build + test + deploy on push to main Copy to: .github/workflows/main-deploy.yml Flow: build + test + artifact (ECR push) + deploy to EC2 via WireGuard VPN + tag. ECR repository is auto-crea
Contracts Pr Develop
Template: PR to develop validation Copy to: .github/workflows/pr-develop.yml Triggers on pull requests targeting develop branch Runs: commit-lint + compile + size check + hardhat test + coverage + gas
Contracts Release Publish
Template: Publish image on release branch Copy to: .github/workflows/release-publish.yml Triggers on push to release/* branches Flow: build → test → artifact (ECR, staging environment) Required secret