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
2 changes: 2 additions & 0 deletions .bumpy/empty-ci-setup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
4 changes: 3 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ jobs:
- uses: actions/checkout@v6
- uses: oven-sh/setup-bun@v2
- run: bun install
- run: cd packages/bumpy && bunx varlock load # need ENV types for tsdown config file
- run: bun run check
- run: bun test
- run: git config --global user.name "CI" && git config --global user.email "ci@test"
- run: bun run test

bumpy-check:
runs-on: ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"lint:fix": "oxlint --fix",
"fmt": "oxfmt",
"fmt:check": "oxfmt --check",
"check": "oxlint && oxfmt --check && bunx tsc -p packages/bumpy --noEmit",
"check": "oxlint && oxfmt --check && bun run --filter @varlock/bumpy check",
"test": "bun run --filter @varlock/bumpy test",
"postinstall": "lefthook install"
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/bumpy/bunfig.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# these global vars will be bundled at build time by tsdown
# this just injects them for running `bun test` or running the ts code directly via bun

[define]
"__BUMPY_VERSION__" = "'dev'"
"__BUMPY_WEBSITE_URL__" = "'https://github.com/dmno-dev/bumpy'"
1 change: 1 addition & 0 deletions packages/bumpy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
},
"scripts": {
"build": "tsdown",
"check": "bun run tsc --noEmit",
"test": "bun test"
},
"devDependencies": {
Expand Down