Prevent scrolling when the container is fully visible in the viewport #546
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-limit: | |
runs-on: ubuntu-latest | |
if: github.repository_owner == 'dflex-js' && github.event.pull_request.draft != true | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Cache pnpm modules | |
uses: actions/cache@v3 | |
with: | |
path: ~/.pnpm-store | |
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }} | |
restore-keys: | | |
${{ runner.os }}- | |
- uses: pnpm/action-setup@v2.4.0 | |
with: | |
version: ^8.0.0 | |
run_install: true | |
- uses: andresz1/size-limit-action@dd31dce7dcc72a041fd3e49abf0502b13fc4ce05 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
package_manager: pnpm | |
build_script: "build --production --release --minify" |