Implement comprehensive technical guide for Aztec Private Voting Application, update dependencies to version 3.0.0-devnet.4, and refactor wallet and contract interaction logic for improved clarity and functionality. #34
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 sandbox | |
| run: | | |
| aztec-up 3.0.0-devnet.4 | |
| aztec start --sandbox & | |
| - name: Install dependencies | |
| working-directory: ./app | |
| run: npm install -g yarn && yarn | |
| - name: Install Playwright Browsers | |
| working-directory: ./app | |
| run: yarn playwright install --with-deps | |
| - name: Build | |
| run: yarn build | |
| - name: Run tests | |
| run: yarn test |