Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,30 @@ jobs:

- name: Publish preview packages
run: pnpx pkg-pr-new publish --pnpm --owner=stijnvanhulle --repo=https://github.com/stijnvanhulle/template.git './packages/*'

compressed-size:
name: Compressed size
timeout-minutes: 15
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
if: github.actor != 'github-actions[bot]' && github.event_name == 'pull_request'
steps:
- name: Check out code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 0
persist-credentials: false

- name: Setup Tools
uses: ./.github/setup
with:
node-version: '22'

- name: Report compressed bundle size
uses: preactjs/compressed-size-action@66325aad6443cb7cf89c4bfcd414aea2367cda94 # v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
build-script: 'build'
pattern: './packages/*/dist/**/*.{js,mjs,cjs}'
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,12 @@
"devDependencies": {
"@changesets/changelog-github": "^0.6.0",
"@changesets/cli": "^2.31.0",
"@size-limit/file": "catalog:",
"@types/node": "catalog:",
"@vitest/coverage-v8": "catalog:",
"@vitest/ui": "catalog:",
"bun-types": "^1.3.14",
"oxfmt": "catalog:",
"oxlint": "catalog:",
"size-limit": "catalog:",
"taze": "^19.14.1",
"ts-node": "^10.9.2",
"tsdown": "catalog:",
Expand Down
61 changes: 0 additions & 61 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@ allowBuilds:
es5-ext: true
esbuild: true
catalog:
'@size-limit/file': ^12.1.0
'@types/node': ^22.19.19
'@vitest/coverage-v8': ^4.1.7
'@vitest/ui': ^4.1.7
oxfmt: ^0.47.0
oxlint: ^1.67.0
'size-limit': ^12.1.0
tsdown: ^0.22.0
typescript: ^6.0.3
vitest: ^4.1.7
Expand Down
Loading