Skip to content

Commit

Permalink
Fix: dist missing after pipeline publish
Browse files Browse the repository at this point in the history
  • Loading branch information
NobleMajo committed Feb 28, 2025
1 parent 54f614f commit de12e6f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: |
bun bump
bun update
bun run build
bun run b
bun test --if-present
- name: Commit and push changes
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ jobs:
- name: Update bun dependencies
run: |
bun i
bun run build
bun run b
bun run test --if-present
- name: Commit and push changes
uses: EndBug/add-and-commit@v9
with:
add: 'package*.json'
add: 'package*.json bun.lockb'
message: 'Bot: bun deps update'

- name: Store build artifacts
Expand All @@ -40,6 +40,7 @@ jobs:
path: |
dist
package*.json
bun.lockb
publish-npmjs-com:
needs: build
Expand Down
Binary file modified bun.lockb
Binary file not shown.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"scripts": {
"bump": "bun --print \"const pkg = await Bun.file('package.json').json(); pkg.version = pkg.version.split('.').map((v, i) => i===2?+v+1:v).join('.'); await Bun.write('package.json', JSON.stringify(pkg, null, 2)); export default pkg.version\"",
"test": "bun test",
"build": "bun run .github/build.ts"
"b": "bun run .github/build.ts"
},
"files": [
"./src"
Expand Down Expand Up @@ -62,7 +62,7 @@
},
"devDependencies": {
"bun-plugin-dts": "^0.3.0",
"@types/bun": "^1.2.2"
"@types/bun": "^1.2.4"
},
"peerDependencies": {
"typescript": "^5.6.2"
Expand Down

0 comments on commit de12e6f

Please sign in to comment.