diff --git a/.github/actions/setup-pnpm/action.yml b/.github/actions/setup-pnpm/action.yml index 2b79e4b..89d80f3 100644 --- a/.github/actions/setup-pnpm/action.yml +++ b/.github/actions/setup-pnpm/action.yml @@ -1,26 +1,23 @@ -name: 🏗️ PNPM Setup -on: - workflow_call: - inputs: - node-version: - description: 'Node.js version to use' - type: "string" - required: true - default: '20.x' +name: Setup PNPM +description: Setup PNPM package manager +inputs: + node-version: + description: "The version of Node.js to use" + required: true + default: "20.x" +runs: + using: "composite" -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout 🛎️ - uses: actions/checkout@v3 + steps: + - name: Checkout 🛎️ + uses: actions/checkout@v3 - - name: Use Node.js 🔧 - uses: actions/setup-node@v4 - with: - node-version: ${{ inputs.node-version }} + - name: Use Node.js 🔧 + uses: actions/setup-node@v4 + with: + node-version: ${{ inputs.node-version }} - # Version supplied from package.json.packageManager fields - # https://github.com/pnpm/action-setup/tree/v2/?tab=readme-ov-file#version - - name: Use PNPM 🔧 - uses: pnpm/action-setup@v2 \ No newline at end of file + # Version supplied from package.json.packageManager fields + # https://github.com/pnpm/action-setup/tree/v2/?tab=readme-ov-file#version + - name: Use PNPM 🔧 + uses: pnpm/action-setup@v2 \ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 69b51cc..38cb91c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: uses: actions/checkout@v3 - name: 🏗️ PNPM Setup - uses: ./.github/actions/pnpm-setup + uses: ./.github/actions/setup-pnpm - name: 🔧 Install Dependencies run: pnpm install