We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 200eea4 commit 1697abcCopy full SHA for 1697abc
1 file changed
.github/workflows/release.yml
@@ -19,7 +19,6 @@ jobs:
19
uses: actions/setup-node@v4
20
with:
21
node-version: '20'
22
- registry-url: 'https://registry.npmjs.org'
23
24
- name: Install dependencies
25
run: yarn install
@@ -31,6 +30,7 @@ jobs:
31
30
# It will only publish if the version in package.json is new
32
# Note: Trusted Publishing requires permissions: id-token: write
33
run: |
+ npm config set registry https://registry.npmjs.org/
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
0 commit comments