From 78ab8e81e2e32fb7da1fafa0ad2a225761653c10 Mon Sep 17 00:00:00 2001 From: Dawid Sowa Date: Thu, 23 Feb 2023 13:22:51 +0100 Subject: [PATCH] ci: trigger tests only for relevat target branches --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8aac4ef4..908b870a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,6 +23,7 @@ jobs: run: yarn lint - name: Running unit tests + if: ${{ github.base_ref == 'develop' }} run: yarn test - name: Build dev extension @@ -60,6 +61,7 @@ jobs: run: yarn lint - name: Running unit tests + if: ${{ github.base_ref == 'main' }} run: yarn test:beta - name: Build dev extension