Saltar al contenido
mypipelines
Contracts (Hardhat/Solidity)·Consumer template·on: push

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

templates/contracts-develop-build.yml

templates/contracts-develop-build.yml
# 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 stage.
name: Develop Build & Test
on:
push:
branches:
- develop
# Deploys on one ref run one at a time, in order. Never cancel one mid-flight:
# a half-applied deploy is worse than a late one.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
permissions:
contents: read
jobs:
pipeline:
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
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
run_test: true
run_coverage: false
secrets: inherit