refactor: enhancement and documenting

This commit is contained in:
2025-01-04 08:48:18 +03:30
parent c032870efb
commit 166fa43a55
6 changed files with 32 additions and 28 deletions

View File

@@ -2,6 +2,10 @@
name: Build, Lint, and Test Project
# Required permission on the caller workflow
# permissions:
# contents: read
on:
workflow_call:
inputs:
@@ -11,9 +15,6 @@ on:
default: 'lts/*'
type: string
permissions:
contents: read
jobs:
main:
name: Build, Lint, and Test Project
@@ -26,7 +27,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