File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : TON Contract CI
2+
3+ on :
4+ push :
5+ branches : [main]
6+ paths :
7+ - " target_chains/ton/contracts/**"
8+ pull_request :
9+ branches : [main]
10+ paths :
11+ - " target_chains/ton/contracts/**"
12+
13+ jobs :
14+ test :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/checkout@v3
18+
19+ - name : Setup Node.js
20+ uses : actions/setup-node@v3
21+ with :
22+ node-version : " 18"
23+
24+ - name : Install pnpm
25+ uses : pnpm/action-setup@v2
26+ with :
27+ version : 8
28+
29+ - name : Install dependencies
30+ run : pnpm install
31+
32+ - name : Build contract
33+ working-directory : target_chains/ton/contracts
34+ run : |
35+ pnpm build:blueprint
36+ echo "Contract hash: $(cat build/Main.compiled.json | jq -r .hash)"
37+
38+ - name : Run tests
39+ working-directory : target_chains/ton/contracts
40+ run : pnpm test:unit
You can’t perform that action at this time.
0 commit comments