File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed
Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ branches :
4+ - testnet
5+ pull_request :
6+ branches :
7+ - testnet
8+
9+ jobs :
10+ setup-and-run :
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout repository
15+ uses : actions/checkout@v3
16+
17+ - name : Set up Node.js
18+ uses : actions/setup-node@v3
19+ with :
20+ node-version : ' 22'
21+ cache : ' yarn' # Optional: cache dependencies for faster builds
22+
23+ - name : Set up Docker
24+ uses : docker/setup-buildx-action@v2
25+
26+ - name : Install Aztec CLI
27+ run : |
28+ curl -s https://install.aztec.network > tmp.sh
29+ bash tmp.sh <<< yes "yes"
30+
31+ - name : Update path
32+ run : echo "/home/runner/.aztec/bin" >> $GITHUB_PATH
33+
34+ - name : Set Aztec version and start sandbox
35+ run : |
36+ VERSION=0.87.4 aztec-up
37+ aztec start --sandbox &
38+
39+ - name : Install project dependencies
40+ run : yarn
41+
42+ - name : Compile, generate code, and run tests
43+ run : script -e -c "${AZTEC_NARGO:-aztec-nargo} compile"
44+
45+ - name : Codegen
46+ run : script -e -c "aztec codegen target --outdir src/artifacts"
47+
48+ - name : Run scripts
49+ run : script -e -c "yarn deploy && yarn deploy-account && yarn fees && yarn multiple-pxe"
You can’t perform that action at this time.
0 commit comments