Skip to content

chore: use lts version of Node.js #282

chore: use lts version of Node.js

chore: use lts version of Node.js #282

Workflow file for this run

name: Package size report
on:
pull_request:
branches: [main, next]
permissions:
pull-requests: write
jobs:
pkg-size-report:
name: Package size report
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Package size report
uses: pkg-size/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
hide-files: '*.{js,css}.map'
display-size: uncompressed, gzip