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 29db63b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
lints:
name: Lints
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- name: Setup pnpm
Expand All @@ -28,6 +31,8 @@ jobs:
run: pnpm audit
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: pnpm npm audit signatures
- name: Verify the package for publishing performing all checks and validations
run: pnpm dlx jsr publish --dry-run
node:
name: Node
needs: lints
Expand Down

0 comments on commit 29db63b

Please sign in to comment.