Skip to content

Feature / Defi Positions #3017

Feature / Defi Positions

Feature / Defi Positions #3017

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/[email protected]
# 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