fix: prevent querying thread draft when drafts are disabled #2932
Workflow file for this run
This file contains hidden or 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: Compressed Size | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| paths-ignore: | |
| - '**.test.js' | |
| - '**.md' | |
| env: | |
| NODE_OPTIONS: --max_old_space_size=4096 | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: preactjs/compressed-size-action@v2 | |
| with: | |
| repo-token: '${{ secrets.GITHUB_TOKEN }}' | |
| pattern: './dist/**/*.{js,cjs,css,json}' |