Skip to content

Commit a4396d9

Browse files
committed
ci(release): add test step before publishing
Run tests as part of release pipeline to ensure quality before publishing to npm. Signed-off-by: leocavalcante <[email protected]>
1 parent 73450da commit a4396d9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,13 @@ jobs:
2626
registry-url: 'https://registry.npmjs.org'
2727

2828
- name: Install dependencies
29-
run: bun install
29+
run: bun install --ignore-scripts
3030

3131
- name: Run linter
32-
run: bunx biome check src/
32+
run: bun run lint
33+
34+
- name: Run tests
35+
run: bun test
3336

3437
- name: Test postinstall script
3538
run: node postinstall.mjs

0 commit comments

Comments
 (0)