mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-09 15:02:05 -03:30
29 lines
707 B
YAML
29 lines
707 B
YAML
name: Setup PNPM
|
|
description: Sets up Node.js and runs PNPM so dependencies are installed.
|
|
|
|
inputs:
|
|
node-version:
|
|
description: Node.js version
|
|
required: false
|
|
default: "24"
|
|
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Set up Node.js
|
|
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
|
|
with:
|
|
node-version: ${{ inputs.node-version }}
|
|
check-latest: true
|
|
|
|
- name: Setup Corepack
|
|
uses: ./.github/actions/corepack-setup
|
|
|
|
- name: PNPM store cache
|
|
uses: ./.github/actions/pnpm-store-cache
|
|
|
|
- name: Install dependencies
|
|
shell: bash
|
|
run: pnpm install --prefer-offline --frozen-lockfile
|
|
working-directory: js
|