Skip to content

Commit b81a4d0

Browse files
committed
Update action.yml
1 parent c034f37 commit b81a4d0

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/actions/publish-npm/action.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,15 @@ inputs:
1717
node-version:
1818
description: 'Node.js version to use when publishing.'
1919
required: false
20-
default: '24.x'
21-
registry-url:
22-
description: 'Registry URL used for npm publish.'
23-
required: false
24-
default: 'https://registry.npmjs.org'
20+
default: '20'
2521
runs:
2622
using: 'composite'
2723
steps:
2824
- name: 🟢 Configure Node for Publish
2925
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
3026
with:
3127
node-version: ${{ inputs.node-version }}
32-
registry-url: ${{ inputs.registry-url }}
28+
registry-url: 'https://registry.npmjs.org'
3329
# Provenance requires npm 9.5.0+
3430
- name: 📦 Install latest npm
3531
run: npm install -g npm@latest

0 commit comments

Comments
 (0)