refactor: Use shell module for npm install with --legacy-peer-deps.

This commit is contained in:
Haitao Pan 2026-02-03 01:56:14 +08:00
parent 27f21796e9
commit c6d9c2a099

View File

@ -39,9 +39,9 @@
- name: install npm dependencies
tags: insight_build
when: workbench_build|bool
npm:
path: "{{ workbench_dir }}"
registry: "{{ nodejs_registry }}"
shell: npm install --legacy-peer-deps
args:
chdir: "{{ workbench_dir }}"
environment: "{{ proxy_env | default({}) }}"
- name: build nextjs workbench