Reenable loans and store on contract metrics #2661
Workflow file for this run
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: Unit tests | |
on: | |
push: | |
branches: [main] | |
paths: | |
- 'common/**' | |
pull_request: | |
branches: [main] | |
paths: | |
- 'common/**' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn install --prefer-offline --frozen-lockfile | |
working-directory: ./common | |
- name: Run lint | |
run: yarn lint | |
- name: Run unit tests | |
run: yarn test | |
working-directory: ./common |