-
Notifications
You must be signed in to change notification settings - Fork 99
51 lines (39 loc) · 1.23 KB
/
testnet_scripts.yaml
File metadata and controls
51 lines (39 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Testnet Scripts
on:
push:
branches:
- testnet
pull_request:
branches:
- testnet
jobs:
setup-and-run:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Set up Node.js
uses: actions/setup-node@v5
with:
node-version: '22'
cache: 'yarn' # Optional: cache dependencies for faster builds
- name: Set up Docker
uses: docker/setup-buildx-action@v3
- name: Install Aztec CLI
run: |
curl -s https://install.aztec.network > tmp.sh
bash tmp.sh <<< yes "yes"
- name: Update path
run: echo "/home/runner/.aztec/bin" >> $GITHUB_PATH
- name: Set Aztec version and start sandbox
run: |
VERSION=0.87.4 aztec-up
aztec start --sandbox &
- name: Install project dependencies
run: yarn
- name: Compile, generate code, and run tests
run: script -e -c "${AZTEC_NARGO:-aztec-nargo} compile"
- name: Codegen
run: script -e -c "aztec codegen target --outdir src/artifacts"
- name: Run scripts
run: script -e -c "yarn deploy && yarn deploy-account && yarn fees && yarn multiple-pxe"