Hardhat के साथ Solidity smart contracts को test और stage करने के लिए Continuous Integration और Continuous Deployment (CI/CD) सेट करने हेतु Tenderly Github action का उपयोग करें
Tenderly Virtual Environments पर Hardhat के साथ Continuous Integration और Continuous Deployment pipeline (CI/CD) सेट करने के लिए GitHub Action को कॉन्फ़िगर करना सीखें।कई networks में अपने contracts को test और deploy करने वाले स्वचालित builds को सक्षम करने के लिए Tenderly Virtual Environment Setup का उपयोग करें। सफल testing के बाद, आप उन्हें प्रोविज़न किए गए Virtual Environments पर deploy करके अपनी बाकी team के लिए stage कर सकते हैं।इस गाइड में, आपको दो चरण पूरे करने होंगे:
Local setup: Hardhat सेट करें और workflow file बनाएं और उसका परीक्षण करें।
Github setup: GitHub Action सेट करें, GitHub secrets और variables कॉन्फ़िगर करें, और build को टेस्ट करें।
संदर्भ के लिए, इस उदाहरण प्रोजेक्ट का उपयोग करें:
CI/CD setup with hardhat-ignition
यह गाइड Hardhat-ignition पर निर्भर एक CI setup प्रदर्शित करती है। hardhat-verify setup के लिए, प्रक्रिया और configuration समान हैं।
Virtual Environments के साथ continuous integration (CI) और continous deployment (CD)