-
Notifications
You must be signed in to change notification settings - Fork 5
43 lines (38 loc) · 1.07 KB
/
ci-common-testnets.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: CI (common-testnets)
on:
pull_request:
# @todo: uncomment when testnet factories are stable
# paths:
# - "packages/common-testnets/**"
# - "pnpm-lock.yaml"
push:
branches:
- main
jobs:
test-e2e:
strategy:
matrix:
node: [ "20" ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9.14.2
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: "pnpm"
- run: pnpm install
- name: Install Foundry
uses: foundry-rs/[email protected]
with:
version: nightly-58bf161bc9dd6e74de8cb61e3ae23f701feb5512
- run: pnpm test-e2e
working-directory: ./packages/common-testnets
env:
TENDERLY_API_KEY: "${{ secrets.TENDERLY_API_KEY }}"
TENDERLY_ACCOUNT: phoenixlabs
TENDERLY_PROJECT: spark-app-e2e-tests
TEST_E2E_ALCHEMY_API_KEY: "${{ secrets.ALCHEMY_API_KEY }}"