Skip to content

Merge pull request #77 from morpho-labs/feat/urd #104

Merge pull request #77 from morpho-labs/feat/urd

Merge pull request #77 from morpho-labs/feat/urd #104

Workflow file for this run

name: Hardhat
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
build-contracts:
name: Compilation
runs-on: ubuntu-latest
steps:
- name: Generate a token
id: generate-token
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ steps.generate-token.outputs.token }}
submodules: recursive
- uses: ./.github/actions/install
- name: Build contracts
run: yarn build:hardhat --force # don't use compilation cache
- name: Run hardhat tests
run: yarn test:hardhat