fix(ci): собирать dist в push-image перед docker build
После split test/push-image dist не передаётся между jobs — COPY dist падал. Lint уже в test; здесь только npm ci + build. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -49,6 +49,15 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: '20'
|
||||||
|
|
||||||
|
- name: Build frontend (dist for Dockerfile)
|
||||||
|
run: |
|
||||||
|
npm ci
|
||||||
|
npm run build
|
||||||
|
|
||||||
- name: Wait for Docker daemon
|
- name: Wait for Docker daemon
|
||||||
run: bash scripts/ensure-docker-daemon.sh 240
|
run: bash scripts/ensure-docker-daemon.sh 240
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user