fix: Bypass terminus if no signals are passed #487
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Size | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
size: | |
name: Report bundle size | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup | |
uses: ./.github/actions/setup | |
- name: Build | |
run: npm run build | |
- name: Get bundle size | |
id: size | |
run: | | |
echo "dist=$(du -sh dist | cut -f1)" >> $GITHUB_OUTPUT | |
- name: Update comment | |
uses: marocchino/sticky-pull-request-comment@v2 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
header: Bundle Size | |
message: | | |
Bundle `dist` size: ${{ steps.size.outputs.dist }} |