File tree 1 file changed +34
-1
lines changed
1 file changed +34
-1
lines changed Original file line number Diff line number Diff line change 9
9
- ' v*'
10
10
11
11
jobs :
12
- release :
12
+ release-npm :
13
+ name : Release npm package
13
14
runs-on : ubuntu-latest
14
15
steps :
15
16
- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
@@ -32,10 +33,42 @@ jobs:
32
33
env :
33
34
NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
34
35
36
+ release-vscode :
37
+ name : Release vscode extention
38
+ runs-on : ubuntu-latest
39
+ steps :
40
+ - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
41
+ with :
42
+ fetch-depth : 0
43
+ - run : corepack enable
44
+ - uses : actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
45
+ with :
46
+ node-version : 20.5
47
+ cache : pnpm
48
+ registry-url : https://registry.npmjs.org/
49
+
50
+ - name : Install dependencies
51
+ run : pnpm install
52
+
53
+ - name : Generate files
54
+ run : pnpm run build
55
+
35
56
- run : pnpm run --filter utils-ai-vscode publish
36
57
env :
37
58
VSCE_PAT : ${{secrets.VSCE_PAT}}
38
59
60
+ release-github :
61
+ runs-on : ubuntu-latest
62
+ needs : [release-npm, release-vscode]
63
+ steps :
64
+ - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
65
+ with :
66
+ fetch-depth : 0
67
+ - run : corepack enable
68
+ - uses : actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3
69
+ with :
70
+ node-version : 20.5
71
+ cache : pnpm
39
72
- run : npx changelogithub
40
73
env :
41
74
GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
You can’t perform that action at this time.
0 commit comments