Skip to content

Commit cba058d

Browse files
authored
ci: use bun ci and npm publish in release workflow (#16)
Use 'bun ci' instead of 'bun install' for faster, lockfile-based dependency installation in CI environments. Use 'npm publish' directly instead of 'bunx npm publish' to ensure proper support for provenance in npm publishing.
1 parent 9910eb1 commit cba058d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
5555
- name: Install dependencies
5656
if: steps.determine.outputs.changed == 'true' && steps.determine.outputs.tag_exists == 'false'
57-
run: bun install
57+
run: bun ci
5858

5959
- name: Generate release notes
6060
if: steps.determine.outputs.changed == 'true' && steps.determine.outputs.tag_exists == 'false'
@@ -129,4 +129,4 @@ jobs:
129129

130130
- name: Publish to npm
131131
if: steps.determine.outputs.changed == 'true' && steps.determine.outputs.tag_exists == 'false'
132-
run: bunx npm publish --access public --provenance
132+
run: npm publish --access public --provenance

0 commit comments

Comments
 (0)