Skip to content

Update/project deps #594

Update/project deps

Update/project deps #594

Workflow file for this run

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@v4
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- uses: pnpm/[email protected]
with:
version: ^8.0.0
run_install: true
- uses: andresz1/size-limit-action@94bc357df29c36c8f8d50ea497c3e225c3c95d1d
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
package_manager: pnpm
build_script: "build --production --release --minify"