Files
2026-07-13 11:40:16 +02:00

25 lines
761 B
YAML

name: Setup Website deps
description: Setup Node.js and install website dependencies
runs:
using: composite
steps:
- name: Setup Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version-file: .nvmrc
- name: Cache website deps
id: yarn-cache-website
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: |
./website/node_modules
./website/yarn/install-state.gz
key: website-${{ runner.os }}-yarn-${{ hashFiles('./website/yarn.lock') }}
- name: Install website deps
if: steps.yarn-cache-website.outputs.cache-hit != 'true'
run: yarn --cwd website install --immutable
shell: bash