Skip to content

chore(.github/workflows): update actions/setup-node's node-version 18 to 20 #1971

chore(.github/workflows): update actions/setup-node's node-version 18 to 20

chore(.github/workflows): update actions/setup-node's node-version 18 to 20 #1971

name: Compressed Size
on: [ pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
cache-dependency-path: '**/pnpm-lock.yaml'
- uses: preactjs/compressed-size-action@v2
with:
pattern: "./dist/**/*.{js,mjs}"