Bump Node from 20 to 22 and update dependencies #138
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: Size limit | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| permissions: | |
| pull-requests: write | |
| jobs: | |
| size: | |
| runs-on: ubuntu-latest | |
| env: | |
| CI_JOB_NUMBER: 1 | |
| strategy: | |
| matrix: | |
| node-version: [22] | |
| # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - run: npm ci | |
| - run: touch .env # https://github.com/nodejs/node/issues/50993 | |
| - name: Use Size limit | |
| uses: andresz1/size-limit-action@dd31dce7dcc72a041fd3e49abf0502b13fc4ce05 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} |