diff --git a/.github/workflows/backend-tests.yml b/.github/workflows/backend-tests.yml index 0edaaac..0f41cb6 100644 --- a/.github/workflows/backend-tests.yml +++ b/.github/workflows/backend-tests.yml @@ -1,4 +1,4 @@ -name: "Backend tests" +name: Backend tests # any branch is useful for testing before a PR is submitted on: [push, pull_request] diff --git a/.github/workflows/frontend-tests.yml b/.github/workflows/frontend-tests.yml index 8543a49..c7950c2 100644 --- a/.github/workflows/frontend-tests.yml +++ b/.github/workflows/frontend-tests.yml @@ -1,6 +1,6 @@ # Publicly credit Sauce Labs because they generously support open source # projects. -name: "Frontend Tests" +name: Frontend Tests on: [push] diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 6a0e979..a95e293 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -5,9 +5,7 @@ name: Node.js Package on: workflow_run: - workflows: - - "Frontend Tests" - - "Backend Tests" + workflows: [Frontend Tests, Backend Tests] types: - completed branches: @@ -15,9 +13,8 @@ on: - master jobs: - publish-npm: - if: github.event_name == 'push' + if: ${{ github.event.workflow_run.conclusion == 'success' }} runs-on: ubuntu-latest steps: - name: Check out Etherpad core