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.
1 parent 99b78a1 commit aacb4a9Copy full SHA for aacb4a9
.gitlab-ci.yml
@@ -0,0 +1,19 @@
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 [email protected]
10
+ - npm install -g @vscode/vsce
11
+ - pnpm install
12
+ - pnpm run build
13
+ - ls ./
14
+ artifacts:
15
+ paths:
16
+ - "*.vsix" # 所有 .vsix 文件(如 dist/extension.vsix)
17
+ expire_in: 1 week # 产物保留 1 周(可选,默认 30 天)
18
+ environment: production
19
+ when: manual # 标记为手动作业
0 commit comments