We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f0f743 commit 52c6586Copy full SHA for 52c6586
.github/workflows/publish-npm.yaml
@@ -38,7 +38,13 @@ jobs:
38
npm version $VERSION --no-git-tag-version
39
40
npm run build
41
- npm publish --access public
+ if npm publish --access public 2>&1 | tee publish.log; then
42
+ echo "Published successfully"
43
+ else
44
+ echo "Publish failed, checking if it's a first-time publish issue..."
45
+ cat publish.log
46
+ exit 1
47
+ fi
48
49
git config user.name "github-actions"
50
git config user.email "[email protected]"
0 commit comments