Files
nomad/.github/actions/setup-js/action.yml
2025-08-20 13:01:22 -07:00

24 lines
565 B
YAML

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
name: setup-js
description: install node and pnpm, and run pnpm install
runs:
using: composite
steps:
- name: Install PNPM
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
with:
run_install: false
- name: Setup node
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version-file: package.json
cache: pnpm
- name: PNPM install
run: pnpm install
shell: bash