chore(build): re-enable builds on PR and restrict publish to master

This commit is contained in:
Richard Simpson
2020-01-09 10:45:52 -06:00
parent ab4dc55b2e
commit 7a9634236c

View File

@@ -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: