fix(ci/deploy): npm ci --legacy-peer-deps + Node 22 (deploy.yml v1.1)
Workflow run 26564332893 failed at 14s — most likely npm ci hit Histoire/Vite peerDep conflict (quirk #74 in feedback_environment.md). --legacy-peer-deps mirrors local install pattern. Also bumped to Node 22 (Node 20 actions deprecated). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -43,16 +43,18 @@ jobs:
|
||||
with:
|
||||
ref: ${{ github.event.inputs.ref }}
|
||||
|
||||
- name: Setup Node 20
|
||||
- name: Setup Node 22
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
node-version: '22'
|
||||
cache: 'npm'
|
||||
cache-dependency-path: app/package-lock.json
|
||||
|
||||
- name: Install frontend deps
|
||||
# --legacy-peer-deps: Histoire 1.0-beta.1 заявляет peerDep vite ^7,
|
||||
# установлено vite 8 — известный квирк проекта (memory feedback_environment.md #74).
|
||||
working-directory: app
|
||||
run: npm ci
|
||||
run: npm ci --legacy-peer-deps
|
||||
|
||||
- name: Build frontend
|
||||
working-directory: app
|
||||
|
||||
Reference in New Issue
Block a user