@dazhicheng/common 1.0.17 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gitlab-ci.yml +6 -3
- package/package.json +1 -1
package/.gitlab-ci.yml
CHANGED
|
@@ -9,17 +9,20 @@ variables:
|
|
|
9
9
|
# 构建锚点 ----------------------------------------------------------------
|
|
10
10
|
.build_template: &build_template
|
|
11
11
|
stage: build
|
|
12
|
-
image: node:
|
|
12
|
+
image: node:24-alpine
|
|
13
13
|
tags:
|
|
14
14
|
- build
|
|
15
|
+
resource_group: build
|
|
15
16
|
script:
|
|
16
|
-
- npm install -g pnpm
|
|
17
|
-
- pnpm
|
|
17
|
+
- npm install -g pnpm@latest
|
|
18
|
+
- pnpm config set registry https://registry.npmmirror.com
|
|
19
|
+
- pnpm install --no-frozen-lockfile
|
|
18
20
|
- pnpm up:dzc
|
|
19
21
|
- pnpm "build:${NODE_ENV}"
|
|
20
22
|
artifacts:
|
|
21
23
|
paths:
|
|
22
24
|
- dist/
|
|
25
|
+
- nginx_*.conf
|
|
23
26
|
expire_in: 1 day
|
|
24
27
|
|
|
25
28
|
# 部署锚点(通用脚本直接写在这里,不需要项目覆盖) -------------------------
|