Skip to content

Commit 3bcdc64

Browse files
author
sunxianfu
committed
Merge branch 'sunxianfu' of https://support.rt-thread.com/cooperation/vscode-rt-smart into sunxianfu
2 parents 3522691 + 92c4d71 commit 3bcdc64

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.gitlab-ci.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
image: node:22
2+
stages:
3+
- deploy
4+
5+
deploy-job: # This job runs in the deploy stage.
6+
stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
7+
script:
8+
- npm config set registry https://registry.npmmirror.com
9+
- npm install -g @vscode/vsce
10+
- npm install
11+
- npm run build
12+
- ls ./
13+
artifacts:
14+
paths:
15+
- "*.vsix" # 所有 .vsix 文件(如 dist/extension.vsix)
16+
expire_in: 1 week # 产物保留 1 周(可选,默认 30 天)
17+
environment: production
18+
when: manual # 标记为手动作业

0 commit comments

Comments
 (0)