From de26e4da819dc6773670050cb9482dfa8f82ce65 Mon Sep 17 00:00:00 2001 From: cedoor Date: Sat, 17 Sep 2022 18:51:59 +0200 Subject: [PATCH] ci: add script to build libs before testing --- .github/workflows/production.yml | 3 +++ .github/workflows/pull-requests.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 4dc3e274..de0274e1 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -78,6 +78,9 @@ jobs: - name: Install dependencies run: yarn + - name: Build libraries + run: yarn build:libraries + - name: Test contracts and libraries run: yarn test:${{ matrix.type }} diff --git a/.github/workflows/pull-requests.yml b/.github/workflows/pull-requests.yml index bceeef00..d0ba0337 100644 --- a/.github/workflows/pull-requests.yml +++ b/.github/workflows/pull-requests.yml @@ -71,5 +71,8 @@ jobs: - name: Install dependencies run: yarn + - name: Build libraries + run: yarn build:libraries + - name: Test contracts and libraries run: yarn test