Use Tenderly Github action to set up Continuous Integration and Continuous Deployment (CI/CD) to test and stage Solidity smart contracts with Hardhat
Learn how to configure a GitHub Action to set up a Continuous Integration and Continuous Deployment pipeline (CI/CD) with Hardhat on Tenderly Virtual Environments.Use the Tenderly Virtual Environment Setup to enable automated builds that test and deploy your contracts across multiple networks. After successful testing, you can stage them for the rest of your team by deploying them to provisioned Virtual Environments.In this guide, you need to complete two stages:
Local setup: Set up Hardhat and create and test the workflow file.
Github setup: Set up a GitHub Action, configure GitHub secrets and variables, and test the build.
For reference, use this example project:
CI/CD setup with hardhat-ignition
This guide demonstrates a CI setup that relies on Hardhat-ignition. For hardhat-verify setup, the process and configuration are similar.
Continuous integration (CI) and continous deployment (CD) with Virtual Environments