Skip to content

Commit

Permalink
Use custom build script in size limit action
Browse files Browse the repository at this point in the history
  • Loading branch information
delucis committed Aug 9, 2023
1 parent 0872018 commit e11fe99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/size-limit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:
uses: andresz1/size-limit-action@dd31dce7dcc72a041fd3e49abf0502b13fc4ce05
with:
github_token: ${{ secrets.FREDKBOT_GITHUB_TOKEN }}
directory: docs/
build_script: 'build:examples'
package_manager: pnpm
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"version": "1.0.0",
"description": "",
"scripts": {
"build:examples": "pnpm --filter @example/* build",
"size": "size-limit",
"version": "pnpm changeset version && pnpm i --no-frozen-lockfile",
"format": "prettier -w --cache --plugin prettier-plugin-astro ."
Expand Down

0 comments on commit e11fe99

Please sign in to comment.