Limit github actions on PR
This commit is contained in:
parent
d632a14729
commit
fc3b14e413
3 changed files with 9 additions and 2 deletions
3
.github/workflows/bundlewatch.yml
vendored
3
.github/workflows/bundlewatch.yml
vendored
|
@ -34,7 +34,8 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: yarn install --frozen-lockfile
|
||||
|
||||
- uses: jackyef/bundlewatch-gh-action@master
|
||||
- name: Angular bundlewatch
|
||||
uses: jackyef/bundlewatch-gh-action@master
|
||||
with:
|
||||
build-script: npm run build -- --analyze-bundle
|
||||
bundlewatch-github-token: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }}
|
||||
|
|
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
@ -2,7 +2,11 @@ name: Test Suite
|
|||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
- master
|
||||
pull_request:
|
||||
types: [synchronize, opened]
|
||||
schedule:
|
||||
- cron: '0 3 * * 1-5'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue