File tree 5 files changed +11
-2797
lines changed
5 files changed +11
-2797
lines changed Original file line number Diff line number Diff line change 1
- name : 🚀 Publish to the Visual Studio Marketplace
1
+ name : publish release to marketplace
2
+
2
3
on :
3
4
push :
4
5
branches :
5
6
- main
6
- workflow_dispatch :
7
- inputs :
8
- version :
9
- description : The version to release (e.g. x.x.x or major, minor, patch)
10
- required : false
11
- no-publish :
12
- type : boolean
13
- description : Skip publishing to the marketplace
14
- default : false
15
7
16
8
permissions :
17
9
contents : write
@@ -21,23 +13,17 @@ jobs:
21
13
runs-on : ubuntu-latest
22
14
steps :
23
15
- uses : actions/checkout@v4
24
- - uses : actions/setup-node@v4
25
- with :
26
- node-version : lts/*
27
- - run : npm clean-install
28
-
29
- - if : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.version }}
30
- run : npm version ${{ github.event.inputs.version }} --no-git-tag-version
16
+ - uses : oven-sh/setup-bun@v2
31
17
32
18
- run : |
33
- npm exec vsce package
19
+ bun install
20
+ bun run vsce package
34
21
echo "filepath=$(ls *.vsix)" >> $GITHUB_ENV
35
- echo "version=$(npm pkg get version | tr -d \" )" >> $GITHUB_ENV
22
+ echo "version=$(ls *.vsix | grep -oE '\d+\.\d+\.\d+' )" >> $GITHUB_ENV
36
23
37
- - if : ${{ !github.event.inputs.no-publish }}
38
- env :
24
+ - env :
39
25
VSCE_PAT : ${{ secrets.VSCE_PAT }}
40
- run : npm exec vsce publish -- --packagePath $filepath
26
+ run : bun run vsce publish --packagePath $filepath
41
27
42
28
- env :
43
29
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env sh
2
2
3
- echo " [commit-msg] ..."
4
- bun run commitlint --edit ${1}
3
+ bun run commitlint --edit $1
Original file line number Diff line number Diff line change 1
1
{
2
+ "version" : " 0.2.0" ,
2
3
"configurations" : [
3
4
{
4
- "name" : " Launch Extension " ,
5
+ "name" : " launch extension " ,
5
6
"type" : " extensionHost" ,
6
7
"request" : " launch" ,
7
8
"args" : [
You can’t perform that action at this time.
0 commit comments