Skip to content

Commit af35dd6

Browse files
dogmarclaude
andauthored
feat: add semantic-release dry-run to PR checks (#5)
Verifies the release pipeline (version calculation, changelog generation, npm pack) without actually publishing. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 30ac16d commit af35dd6

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,16 @@ on:
44
pull_request:
55
branches: [main]
66

7+
permissions:
8+
contents: read
9+
710
jobs:
811
check:
912
runs-on: ubuntu-latest
1013
steps:
1114
- uses: actions/checkout@v4
15+
with:
16+
fetch-depth: 0
1217

1318
- uses: voidzero-dev/setup-vp@v1
1419
with:
@@ -18,3 +23,7 @@ jobs:
1823
- run: vp install
1924

2025
- run: vp run ready
26+
27+
- run: npx semantic-release --dry-run
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)