chore: divide workflows into reusable pieces #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Install Dependencies | |
description: Sets up Node and its package manager, then installs all dependencies | |
runs: | |
using: composite | |
steps: | |
- name: Install package manager | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8.6.1 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install |