1db50ed7a9
Co-authored-by: Aaron <aaronklinker1@gmail.com>
32 lines
664 B
YAML
32 lines
664 B
YAML
name: Basic Setup
|
|
description: Install PNPM, Node, and dependencies
|
|
|
|
inputs:
|
|
install:
|
|
default: 'true'
|
|
type: boolean
|
|
description: Whether or not to run 'pnpm install'
|
|
|
|
installArgs:
|
|
default: ''
|
|
type: string
|
|
description: Additional args to append to "pnpm install"
|
|
|
|
runs:
|
|
using: composite
|
|
|
|
steps:
|
|
- name: 🛠️ Setup PNPM
|
|
uses: pnpm/action-setup@v4
|
|
|
|
- name: 🛠️ Setup NodeJS
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 18
|
|
cache: pnpm
|
|
|
|
- name: 📦 Install Dependencies
|
|
if: ${{ inputs.install == 'true' }}
|
|
shell: bash
|
|
run: pnpm install ${{ inputs.installArgs }}
|