Skip to content

Fixes / dApps connection migration #9054

Fixes / dApps connection migration

Fixes / dApps connection migration #9054

Workflow file for this run

name: Execute Unit Tests
on:
push:
branches:
- v2
- main
- 'release/*'
pull_request:
branches:
- v2
- main
- 'release/*'
types: [opened, synchronize, reopened, ready_for_review]
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
environment: tests
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false || github.event_name == 'workflow_dispatch'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
# - name: Add SSH key to chekout a private repo
# uses: webfactory/ssh-agent@v0.9.1
# with:
# ssh-private-key: ${{ secrets.DEPLOY_KEY }}
- name: Checkout code 🛎️
uses: actions/checkout@v6
- name: Install Node.js ⚙️
uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
- name: Install NPM packages ♾️🕳️
run: npm ci
- name: Hardhat Tests 🧑‍🔬
env:
SEED: ${{ secrets.SEED }}
run: npm run hardhat
- name: JEST Tests 🧑‍🔬
env:
SEED: ${{ secrets.SEED }}
IS_TESTING: 'true'
REACT_APP_PIMLICO_API_KEY: ${{ secrets.REACT_APP_PIMLICO_API_KEY }}
REACT_APP_CANDIDE_API_KEY: ${{ secrets.REACT_APP_CANDIDE_API_KEY }}
REACT_APP_ETHERSPOT_API_KEY: ${{ secrets.REACT_APP_ETHERSPOT_API_KEY }}
REACT_APP_GELATO_API_KEY: ${{ secrets.REACT_APP_GELATO_API_KEY }}
run: npm run jest