Skip to content

Commit

Permalink
chore(build): re-enable builds on PR and restrict publish to master
Browse files Browse the repository at this point in the history
  • Loading branch information
RichiCoder1 committed Jan 9, 2020
1 parent ab4dc55 commit 7a96342
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
on: [push]
on:
push:
branches:
- master
pull_request:

jobs:
build:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 7a96342

Please sign in to comment.