We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1697abc commit aedab6bCopy full SHA for aedab6b
1 file changed
.github/workflows/release.yml
@@ -30,11 +30,11 @@ jobs:
30
# It will only publish if the version in package.json is new
31
# Note: Trusted Publishing requires permissions: id-token: write
32
run: |
33
- npm config set registry https://registry.npmjs.org/
+ echo "registry=https://registry.npmjs.org/" > .npmrc
34
PACKAGE_NAME=$(node -p "require('./package.json').name")
35
PACKAGE_VERSION=$(node -p "require('./package.json').version")
36
if npm view "$PACKAGE_NAME" version | grep -q "$PACKAGE_VERSION"; then
37
echo "Version $PACKAGE_VERSION already exists on NPM. Skipping publish."
38
else
39
- npm publish --provenance --access public
+ npm publish --provenance --access public --verbose --registry https://registry.npmjs.org/
40
fi
0 commit comments