# 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 tests)
name: Feature/Bugfix Build
on: push: branches: - 'feature/**' - 'bugfix/**'
# A newer push to the same PR or branch makes this run's answer stale.concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true
jobs: build: uses: Codehunters-IO/ci-templates/.github/workflows/contracts-main-pipeline.yml@v2 with: # Node comes from the image, not from a per-run download. The tag pins # the version a repository declares in `engines` / `.nvmrc`. container_image: 'ghcr.io/codehunters-io/ci-base-images:1-node' run_build: true secrets: inheritContracts (Hardhat/Solidity)·Consumer template·on: push
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
templates/contracts-feature-build.yml