Skip to content

Commit 0571961

Browse files
committed
chore: add ci caching
1 parent c11db77 commit 0571961

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

.github/workflows/e2e.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,37 +12,35 @@ jobs:
1212
- uses: actions/checkout@v4
1313

1414
- uses: actions/setup-node@v4
15+
working-directory: ./app
1516
with:
1617
node-version: lts/*
18+
cache: 'yarn'
19+
20+
- name: Install Playwright Browsers
21+
working-directory: ./app
22+
run: yarn playwright install --with-deps
1723

1824
- name: Set up Docker
1925
uses: docker/setup-buildx-action@v2
2026

2127
- name: Install Aztec CLI
2228
run: |
2329
curl -s https://install.aztec.network > tmp.sh
24-
bash tmp.sh <<< yes "yes"
30+
bash tmp.sh <<< yes "yes" &
31+
aztec-up 0.87.2
2532
2633
- name: Update path
2734
run: echo "/home/runner/.aztec/bin" >> $GITHUB_PATH
2835

29-
- name: Set Aztec version and start sandbox
36+
- name: Start sandbox
3037
run: |
31-
aztec-up 0.87.2
32-
aztec start --sandbox &
38+
aztec start --sandbox
3339
3440
- name: Compile contracts
3541
run: script -e -c "${AZTEC_NARGO:-aztec-nargo} compile"
3642
working-directory: ./contracts
3743

38-
- name: Install dependencies
39-
working-directory: ./app
40-
run: npm install -g yarn && yarn
41-
42-
- name: Install Playwright Browsers
43-
working-directory: ./app
44-
run: yarn playwright install --with-deps
45-
4644
- name: Deploy contracts
4745
working-directory: ./app
4846
run: yarn deploy-contracts

0 commit comments

Comments
 (0)