From 2ef929dd28af13b134ed71aaea745e57b1d56bf7 Mon Sep 17 00:00:00 2001 From: Daniel Carrillo Date: Sun, 10 Sep 2023 12:07:52 +0200 Subject: [PATCH] chore: Add tests to deployment workflow --- .github/workflows/main.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 617c042..ddce9f9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,8 +9,6 @@ on: jobs: tests: runs-on: ubuntu-latest - if: github.event_name == 'pull_request' - steps: - uses: actions/checkout@v3 @@ -28,8 +26,9 @@ jobs: deploy: runs-on: ubuntu-latest + needs: + - tests if: github.event_name == 'push' - steps: - uses: actions/checkout@v3