update deps #1237
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: Size Limit | |
| on: | |
| pull_request: | |
| push: | |
| branches: main | |
| permissions: | |
| contents: read | |
| jobs: | |
| size-limit: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [lts/*] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v5 | |
| with: | |
| version: 11.24.0 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 # v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: pnpm | |
| - name: Install dependencies and run size limit check | |
| run: | | |
| pnpm install --frozen-lockfile | |
| pnpm lint:size |