Skip to content

Commit 5cec039

Browse files
author
strausr
committed
fix: add debug output and explicit npm config for semantic-release
1 parent 86fd306 commit 5cec039

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

.github/workflows/release.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,20 @@ jobs:
6666

6767
- run: npm test --if-present
6868

69+
- name: Debug semantic-release config
70+
run: |
71+
echo "=== .releaserc.json ==="
72+
cat .releaserc.json
73+
echo ""
74+
echo "=== Git branches ==="
75+
git branch -a
76+
echo ""
77+
echo "=== Current branch ==="
78+
git branch --show-current
79+
echo ""
80+
echo "=== Git tags ==="
81+
git tag
82+
6983
- name: Release
7084
env:
7185
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.releaserc.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@
99
"@semantic-release/commit-analyzer",
1010
"@semantic-release/release-notes-generator",
1111
"@semantic-release/changelog",
12-
"@semantic-release/npm",
12+
[
13+
"@semantic-release/npm",
14+
{
15+
"npmPublish": true
16+
}
17+
],
1318
[
1419
"@semantic-release/git",
1520
{

0 commit comments

Comments
 (0)