Skip to content

Commit

Permalink
ci: trigger tests only for relevat target branches
Browse files Browse the repository at this point in the history
  • Loading branch information
dawidsowardx committed Feb 23, 2023
1 parent 1b772c3 commit 78ab8e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
run: yarn lint

- name: Running unit tests
if: ${{ github.base_ref == 'develop' }}
run: yarn test

- name: Build dev extension
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 78ab8e8

Please sign in to comment.