Skip to content

Commit

Permalink
fix: pipeline pls
Browse files Browse the repository at this point in the history
  • Loading branch information
petertonysmith94 committed Jan 9, 2024
1 parent 6f4f98c commit 44b1ac2
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 24 deletions.
43 changes: 20 additions & 23 deletions .github/actions/setup-pnpm/action.yml
Original file line number Diff line number Diff line change
@@ -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
# 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
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 44b1ac2

Please sign in to comment.