提交 dae2b6b9 authored 作者: 张伊明's avatar 张伊明

修改run build 时的node版本

上级 75eba197
...@@ -9,12 +9,14 @@ stages: ...@@ -9,12 +9,14 @@ stages:
build_pre: build_pre:
stage: build stage: build
image: node:18-alpine image: node:20-bullseye
tags: tags:
- risk-monitor-frontend - risk-monitor-frontend
only: only:
- pre - pre
script: script:
- node -v
- npm -v
- npm config set cache .npm --global - npm config set cache .npm --global
- npm ci --prefer-offline --no-audit --no-fund - npm ci --prefer-offline --no-audit --no-fund
- npm run build - npm run build
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论