File tree Expand file tree Collapse file tree 1 file changed +15
-4
lines changed
Expand file tree Collapse file tree 1 file changed +15
-4
lines changed Original file line number Diff line number Diff line change 77jobs :
88 test :
99 timeout-minutes : 120
10- runs-on : ubuntu-latest
10+ runs-on : ubuntu-latest-16-cores
1111 steps :
1212 - uses : actions/checkout@v4
1313
1414 - uses : actions/setup-node@v4
1515 with :
1616 node-version : lts/*
17+ cache : ' yarn'
1718
1819 - name : Set up Docker
1920 uses : docker/setup-buildx-action@v2
@@ -31,18 +32,28 @@ jobs:
3132 aztec-up 0.87.2
3233 aztec start --sandbox &
3334
34- - name : Compile contracts
35- run : script -e -c "${AZTEC_NARGO:-aztec-nargo} compile"
36- working-directory : ./contracts
35+ - name : Cache Playwright browsers
36+ uses : actions/cache@v3
37+ id : playwright-cache
38+ with :
39+ path : ~/.cache/ms-playwright
40+ key : playwright-${{ runner.os }}-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}
41+ restore-keys : |
42+ playwright-${{ runner.os }}-
3743
3844 - name : Install dependencies
3945 working-directory : ./app
4046 run : npm install -g yarn && yarn
4147
4248 - name : Install Playwright Browsers
49+ if : steps.playwright-cache.outputs.cache-hit != 'true'
4350 working-directory : ./app
4451 run : yarn playwright install --with-deps
4552
53+ - name : Compile contracts
54+ run : script -e -c "${AZTEC_NARGO:-aztec-nargo} compile"
55+ working-directory : ./contracts
56+
4657 - name : Deploy contracts
4758 working-directory : ./app
4859 run : yarn deploy-contracts
You can’t perform that action at this time.
0 commit comments