Files
vikunja/.github/actions/setup-frontend/action.yml
2025-05-13 10:57:33 +00:00

19 lines
629 B
YAML

name: Setup Frontend
description: Common setup for frontend jobs using pnpm
runs:
using: "composite"
steps:
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4
with:
run_install: false
package_json_file: frontend/package.json
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version-file: frontend/.nvmrc
cache: 'pnpm'
cache-dependency-path: frontend/pnpm-lock.yaml
- name: Install dependencies
working-directory: frontend
run: pnpm install --frozen-lockfile --prefer-offline
shell: bash