From 11ef2ef708a8e636ea1dcbc5e1b5d1332c3e8a4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karol=20S=C3=B3jko?= Date: Fri, 10 Feb 2023 12:57:38 +0100 Subject: [PATCH] chore: fix publishing flow --- .github/workflows/common-self-hosting.yml | 7 ------- .github/workflows/publish.yml | 11 +++++++++-- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/common-self-hosting.yml b/.github/workflows/common-self-hosting.yml index dded9b702..ee0127fc6 100644 --- a/.github/workflows/common-self-hosting.yml +++ b/.github/workflows/common-self-hosting.yml @@ -13,16 +13,9 @@ on: required: true jobs: - e2e: - name: E2E - uses: standardnotes/server/.github/workflows/common-e2e.yml@main - secrets: inherit - publish: runs-on: ubuntu-latest - needs: e2e - steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1b5592c98..cd1245280 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -88,15 +88,22 @@ jobs: - name: Test run: yarn test + e2e: + name: E2E + uses: standardnotes/server/.github/workflows/common-e2e.yml@main + secrets: inherit + publish-self-hosting: - needs: [ test, lint ] + needs: [ test, lint, e2e ] name: Publish Self Hosting Docker Image uses: standardnotes/server/.github/workflows/common-self-hosting.yml@main secrets: inherit publish-services: + needs: [ test, lint, e2e ] + runs-on: ubuntu-latest - needs: publish-self-hosting + steps: - name: Checkout code uses: actions/checkout@v3