chore(build): re-enable builds on PR and restrict publish to master
This commit is contained in:
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user