We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f9e6f3 commit 8773ca1Copy full SHA for 8773ca1
1 file changed
.github/workflows/release.yml
@@ -0,0 +1,44 @@
1
+name: Release Pipeline
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - "v*.*.*"
7
8
+jobs:
9
+ release:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Checkout repo
14
+ uses: actions/checkout@v4
15
16
+ - name: Setup Node.js
17
+ uses: actions/setup-node@v4
18
+ with:
19
+ node-version: 22
20
+ cache: "npm"
21
22
+ - name: Install dependencies
23
+ run: npm install
24
25
+ - name: Compile contracts
26
+ run: npm run compile
27
28
+ - name: Run tests
29
+ run: npm run test
30
31
+ - name: Gas report
32
+ run: npx hardhat test --network hardhat
33
34
+ - name: Contract size check
35
+ run: npx hardhat size-contracts
36
37
+ - name: Generate coverage
38
+ run: npm run test:coverage
39
40
+ - name: Upload artifacts
41
+ uses: actions/upload-artifact@v4
42
43
+ name: release-reports
44
+ path: coverage/
0 commit comments