From 7a9634236c037dc79d44b27f23c1510e9e1e7cd7 Mon Sep 17 00:00:00 2001 From: Richard Simpson Date: Thu, 9 Jan 2020 10:45:52 -0600 Subject: [PATCH] chore(build): re-enable builds on PR and restrict publish to master --- .github/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index da62f0f..4f7665d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,8 @@ -on: [push] +on: + push: + branches: + - master + pull_request: jobs: build: @@ -119,6 +123,7 @@ jobs: run: npm run test:e2e publish: + if: github.event_name == 'push' && contains(github.ref, 'master') runs-on: ubuntu-latest needs: [build, integration, e2e] steps: