We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53a147d commit 250bf84Copy full SHA for 250bf84
1 file changed
.github/workflows/production.yml
@@ -0,0 +1,40 @@
1
+name: Production Pipeline
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
7
+jobs:
8
+ production-deploy:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - name: Checkout repo
13
+ uses: actions/checkout@v4
14
15
+ - name: Setup Node.js
16
+ uses: actions/setup-node@v4
17
+ with:
18
+ node-version: 22
19
+ cache: "npm"
20
21
+ - name: Install dependencies
22
+ run: npm install
23
24
+ - name: Compile contracts
25
+ run: npm run compile
26
27
+ - name: Run tests
28
+ run: npm run test
29
30
+ - name: Deploy to Mainnet
31
+ run: npm run deploy:mainnet
32
33
+ - name: Verify contracts
34
+ run: npm run verify --network mainnet
35
36
+ - name: Upload artifacts
37
+ uses: actions/upload-artifact@v4
38
39
+ name: production-deploy-logs
40
+ path: artifacts/
0 commit comments