We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3522691 + 92c4d71 commit 3bcdc64Copy full SHA for 3bcdc64
.gitlab-ci.yml
@@ -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