Skip to content

Feature / Integrated Swap #2724

Feature / Integrated Swap

Feature / Integrated Swap #2724

Workflow file for this run

name: Execute Unit Tests
on:
push:
branches:
- v2
pull_request:
branches:
- v2
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
environment: tests
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
# - name: Add SSH key to chekout a private repo
# uses: webfactory/ssh-agent@v0.5.4
# with:
# ssh-private-key: ${{ secrets.DEPLOY_KEY }}
- name: Checkout code 🛎️
uses: actions/checkout@v3
- name: Install Node.js ⚙️
uses: actions/setup-node@v3
with:
node-version: 16.x
- 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 }}
REACT_APP_PIMLICO_API_KEY: ${{ secrets.REACT_APP_PIMLICO_API_KEY }}
run: npm run jest