Update README.MD #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Production Pipeline | |
| on: | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| production-deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: "npm" | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Compile contracts | |
| run: npm run compile | |
| - name: Run tests | |
| run: npm run test | |
| - name: Deploy to Mainnet | |
| run: npm run deploy:mainnet | |
| - name: Verify contracts | |
| run: npm run verify --network mainnet | |
| - name: Upload artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: production-deploy-logs | |
| path: artifacts/ |