Add additional delegate links #1187
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 | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
e2e: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- test: executives.spec | |
- test: delegates.spec | |
# - test: esmodule.spec | |
- test: polling.spec | |
runs-on: ubuntu-latest | |
env: | |
INFURA_KEY: ${{ secrets.INFURA_KEY }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
ETHERSCAN_KEY: ${{ secrets.ETHERSCAN_KEY }} | |
POCKET_KEY: ${{ secrets.POCKET_KEY }} | |
ALCHEMY_KEY: ${{ secrets.ALCHEMY_KEY }} | |
REDIS_URL: ${{ secrets.REDIS_URL }} | |
USE_CACHE: true | |
TENDERLY_API_KEY: ${{ secrets.TENDERLY_API_KEY }} | |
DEFENDER_API_SECRET_TESTNET: $${{ secrets.DEFENDER_API_SECRET_TESTNET}} | |
DEFENDER_API_KEY_TESTNET: ${{ secrets.DEFENDER.API_KEY_TESTNET}} | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Install dependencies | |
run: yarn install | |
- name: Build sdk | |
run: yarn build-sdk | |
- run: yarn exec playwright install --with-deps | |
- name: Run E2E Test | |
run: yarn run e2e ${{ matrix.test }} | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: playwright-report-${{ matrix.test }} | |
path: playwright-report/ | |
retention-days: 30 |