Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 88958232f2 | |||
| 5ddd93afcc |
6
.github/workflows/publish-npm.yaml
vendored
6
.github/workflows/publish-npm.yaml
vendored
@@ -10,6 +10,11 @@ on:
|
||||
required: true
|
||||
default: 'lts/*'
|
||||
type: string
|
||||
npm-registry-url:
|
||||
description: 'NPM registry url'
|
||||
required: false
|
||||
default: 'https://registry.npmjs.org'
|
||||
type: string
|
||||
secrets:
|
||||
NPM_TOKEN:
|
||||
required: true
|
||||
@@ -34,6 +39,7 @@ jobs:
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: ${{ inputs.node-version }}
|
||||
registry-url: ${{ inputs.npm-registry-url }}
|
||||
|
||||
- name: 🛠️ Setup Node.js Corepack
|
||||
run: corepack enable
|
||||
|
||||
Reference in New Issue
Block a user