File tree 2 files changed +32
-6
lines changed 2 files changed +32
-6
lines changed Original file line number Diff line number Diff line change 1
1
main :
2
2
push :
3
- - stages :
3
+ - stageOne :
4
+ runner :
5
+ cpus : 8
6
+ services :
7
+ - docker
8
+ - git-clone-yyds
9
+ stages :
4
10
- name : sync to github
5
11
image : tencentcom/git-sync
6
- imports : https://cnb.cool/opsre /build-env/-/blob/main/env.yaml
12
+ imports : https://cnb.cool/eryajf /build-env/-/blob/main/env.yaml
7
13
settings :
8
- target_url : https://github.com/opsre/JenkinsGuide.git
14
+ branch : main
9
15
auth_type : https
10
- git_email : ' github-actions[bot]@users.noreply.github.com'
11
16
username : ${GIT_USERNAME}
12
17
password : ${GIT_ACCESS_TOKEN}
13
- branch : main
18
+ target_url : https://github.com/opsre/JenkinsGuide.git
19
+ git_email : ' github-actions[bot]@users.noreply.github.com'
20
+ - stageTwo :
21
+ runner :
22
+ cpus : 16
23
+ services :
24
+ - docker
25
+ - git-clone-yyds
26
+ docker :
27
+ image : docker.cnb.cool/znb/images/node:18
28
+ volumes :
29
+ - /data/.cache:copy-on-write
30
+ stages :
31
+ - name : print node version
32
+ scripts : |
33
+ node -v && npm -v && yarn -v && pnpm -v
34
+ - name : install dependencies
35
+ scripts : |
36
+ pnpm i
37
+ - name : build project
38
+ scripts : |
39
+ pnpm build
Original file line number Diff line number Diff line change 11
11
},
12
12
"scripts" : {
13
13
"dev" : " vitepress dev docs" ,
14
- "build" : " vitepress build docs" ,
14
+ "build" : " NODE_OPTIONS=--max-old-space-size=24576 vitepress build docs" ,
15
15
"preview" : " vitepress preview docs"
16
16
},
17
17
"dependencies" : {
You can’t perform that action at this time.
0 commit comments