Skip to content

Commit 3c6ccb3

Browse files
authored
chore(ci): add resilient npm publish with --access public (#6285)
1 parent 8cd2ce5 commit 3c6ccb3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/create-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ jobs:
130130
package_version=$(node -p "require('./$package_path/package.json').version")
131131
echo "Publishing $package_name@$package_version from $package_path with tag $tag"
132132
cd "$package_path"
133-
if npm publish --tag "$tag" --provenance; then
133+
if npm publish --tag "$tag" --provenance --access public; then
134134
echo "Successfully published $package_name@$package_version"
135135
else
136136
if npm view "$package_name@$package_version" version 2>/dev/null; then

0 commit comments

Comments
 (0)