Skip to content

feat: update to 3.0.0-devnet.20251212 #42

feat: update to 3.0.0-devnet.20251212

feat: update to 3.0.0-devnet.20251212 #42

Workflow file for this run

name: E2E Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
timeout-minutes: 120
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Set up Docker
uses: docker/setup-buildx-action@v2
- 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 local network
run: |
aztec-up 3.0.0-devnet.20251212
aztec start --local-network &
- name: Wait for local network to be ready
run: |
echo "Waiting for Aztec node to be ready..."
timeout 300 bash -c 'until curl -s http://localhost:8080/status > /dev/null 2>&1; do sleep 5; echo "Waiting..."; done'
echo "Aztec node is ready!"
- name: Install dependencies
run: yarn install
- name: Install Playwright Browsers
run: yarn playwright install --with-deps
- name: Build contracts
run: yarn build-contracts
- name: Deploy contracts
run: PROVER_ENABLED=false yarn deploy-contracts
- name: Build app (after deploy so env vars are available)
run: yarn build-app
- name: Start static server
run: |
echo "Starting static server..."
yarn serve:static &
SERVER_PID=$!
echo $SERVER_PID > server.pid
echo "Server PID: $SERVER_PID"
echo "Waiting for server to be ready..."
timeout 60 bash -c 'until curl -sf http://127.0.0.1:3000 > /dev/null 2>&1; do sleep 2; echo "Waiting..."; done'
echo "Server is up!"
- name: Run Playwright tests
run: yarn playwright test --reporter=list
env:
CI: true
FORCE_COLOR: 1
- name: Stop server
if: always()
run: |
if [ -f server.pid ]; then
kill $(cat server.pid) || true
rm server.pid
fi