Skip to content

Commit

Permalink
test(ci): add package preparation step to GitHub workflow
Browse files Browse the repository at this point in the history
Added a step in the GitHub workflow file (tests.yml) to prepare the package for publishing, performing all necessary checks and validations. This uses the 'pnpm dlx jsr publish --dry-run' command to ensure the package is ready for release.
  • Loading branch information
hckhanh committed Mar 1, 2024
1 parent 934eda6 commit e870cb2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
with:
node-version: 'lts/*'
cache: 'pnpm'
- name: Verify the package for publishing performing all checks and validations
run: pnpm dlx jsr publish --dry-run
- name: Release on GitHub
run: pnpm --package conventional-changelog-conventionalcommits --package semantic-release dlx semantic-release
env:
Expand Down

0 comments on commit e870cb2

Please sign in to comment.