Skip to content

Create blockquote #6028

Create blockquote

Create blockquote #6028

name: Package size
on: pull_request
jobs:
package-size:
name: Check package sizes
runs-on: ubuntu-latest
env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: nrwl/nx-set-shas@v4
- name: Setup Node.js 20.5
uses: actions/setup-node@v4
with:
node-version: 20.5.x
- uses: zahnster/compressed-size-action@2.4.2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
build-script: "build:js"
# only do common js files, no need to double count files
pattern: "{**/dist/**/*.js,./packages/paste-icons/cjs/**/*.js}"
exclude: "{**/*.map,**/node_modules/**,**/*.es.js,**/*.es6.js,**/*.debug.js,**/*.debug.es.js}"