refactor(build-lint-test): remove extra env filed
This commit is contained in:
5
.github/workflows/build-lint-test.yaml
vendored
5
.github/workflows/build-lint-test.yaml
vendored
@@ -11,9 +11,6 @@ on:
|
|||||||
default: 'lts/*'
|
default: 'lts/*'
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
env:
|
|
||||||
NODE_VERSION: ${{ inputs.node-version }}
|
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
@@ -29,7 +26,7 @@ jobs:
|
|||||||
- name: 🔧 Setup Node.js
|
- name: 🔧 Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: ${{ env.NODE_VERSION }}
|
node-version: ${{ inputs.NODE_VERSION }}
|
||||||
|
|
||||||
- name: 🛠️ Setup Node.js Corepack
|
- name: 🛠️ Setup Node.js Corepack
|
||||||
run: corepack enable
|
run: corepack enable
|
||||||
|
|||||||
Reference in New Issue
Block a user