Skip to content

Commit

Permalink
ci: use culls to prune package.json for NPM
Browse files Browse the repository at this point in the history
  • Loading branch information
metonym committed Dec 16, 2024
1 parent 2497b1a commit 9c1f86b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish-to-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ jobs:
- name: Build package
run: bun run build

- name: Prune package
run: bunx culls

- name: Publish package
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
Expand Down
Binary file modified bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"@types/bun": "^1.1.12",
"@types/jest": "^29.5.13",
"@types/prettier": "^3.0.0",
"culls": "^0.1.1",
"prettier-plugin-svelte": "^3.2.7"
},
"bin": {
Expand Down

0 comments on commit 9c1f86b

Please sign in to comment.