Merge pull request #8 from AztecProtocol/jc/devnet.6 #61
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: [next] | |
| pull_request: | |
| branches: [next] | |
| env: | |
| AZTEC_VERSION: 3.0.0-devnet.6-patch.1 | |
| 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 | |
| VERSION=${{ env.AZTEC_VERSION }} bash tmp.sh <<< yes "yes" | |
| - name: Update path | |
| run: echo "/home/runner/.aztec/bin" >> $GITHUB_PATH | |
| - name: Start local network | |
| run: aztec start --local-network & | |
| - name: Install dependencies | |
| run: yarn install | |
| - name: Install Playwright Browsers | |
| run: yarn playwright install --with-deps | |
| - name: Build | |
| run: yarn build | |
| - name: Run tests | |
| run: yarn test |