WIP: Enhancement/ Improve portfolio error banner UX #3583
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: 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 | |