fix: correct set node version
This commit is contained in:
5
.github/workflows/publish-npm.yaml
vendored
5
.github/workflows/publish-npm.yaml
vendored
@@ -15,9 +15,6 @@ on:
|
||||
required: true
|
||||
description: 'NPM token'
|
||||
|
||||
env:
|
||||
NODE_VERSION: lts/*
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
@@ -36,7 +33,7 @@ jobs:
|
||||
- name: 🔧 Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: ${{ inputs.NODE_VERSION }}
|
||||
node-version: ${{ inputs.node-version }}
|
||||
|
||||
- name: 🛠️ Setup Node.js Corepack
|
||||
run: corepack enable
|
||||
|
||||
Reference in New Issue
Block a user