Add common-testnets package #10
Workflow file for this run
This file contains 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: 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 }}" |