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:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -119,6 +123,7 @@ jobs:
|
|||||||
run: npm run test:e2e
|
run: npm run test:e2e
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
|
if: github.event_name == 'push' && contains(github.ref, 'master')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [build, integration, e2e]
|
needs: [build, integration, e2e]
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user