Skip to content

Commit

Permalink
Merge pull request #34 from Baek2back/settings/compressed-size
Browse files Browse the repository at this point in the history
ci: add compressed-size-action
  • Loading branch information
Baek2back authored Aug 1, 2024
2 parents 0ef18ed + 2db305a commit f64946a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/compressed-size.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Compressed Size

on: [pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: oven-sh/setup-bun@f4d14e03ff726c06358e5557344e1da148b56cf7 # v1
- run: bun install
- uses: preactjs/compressed-size-action@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
2 changes: 1 addition & 1 deletion packages/python/api-extractor.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
*
* SUPPORTED TOKENS: <projectFolder>, <packageName>, <unscopedPackageName>
*/
"mainEntryPointFilePath": "./dist/index.d.mts",
"mainEntryPointFilePath": "./dist/index.d.ts",

/**
* A list of NPM package names whose exports should be treated as part of this package.
Expand Down

0 comments on commit f64946a

Please sign in to comment.