mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-12-25 19:19:16 +01:00
18 lines
464 B
YAML
18 lines
464 B
YAML
name: "Setup pnpm and Node.js"
|
|
description: "Setup pnpm and Node.js environment for workflows. Requires the repo to be cloned to at least have .nvmrc and package.json"
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Install pnpm
|
|
uses: pnpm/action-setup@v4
|
|
|
|
- name: Set up Node.js
|
|
uses: actions/setup-node@v6
|
|
with:
|
|
node-version-file: ".nvmrc"
|
|
cache: "pnpm"
|
|
|
|
- name: Install dependencies
|
|
run: pnpm i
|
|
shell: bash
|