File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish Extension
2+
3+ on :
4+ push :
5+ tags :
6+ - v*
7+
8+ jobs :
9+ publish-extension :
10+ permissions :
11+ id-token : write
12+ contents : write
13+ actions : write
14+
15+ runs-on : ubuntu-slim
16+ steps :
17+ - uses : actions/checkout@v6
18+ with :
19+ fetch-depth : 0
20+ - uses : pnpm/action-setup@v4
21+ - uses : actions/setup-node@v6
22+ with :
23+ node-version : lts/*
24+ cache : pnpm
25+
26+ - run : npx changelogithub
27+ continue-on-error : true
28+ env :
29+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
30+
31+ - run : pnpm install
32+
33+ - name : Generate .vsix file
34+ run : pnpm package
35+
36+ - name : Publish Extension
37+ run : npx vsxpub --no-dependencies --exclude ovsx
38+ env :
39+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
40+ VSCE_PAT : ${{secrets.VSCE_PAT}}
Original file line number Diff line number Diff line change 6868 "lint" : " eslint ." ,
6969 "lint:fix" : " eslint . --fix" ,
7070 "typecheck" : " tsc --noEmit" ,
71- "vscode:prepublish" : " npm run update && npm run build" ,
71+ "vscode:prepublish" : " npm run build" ,
7272 "publish" : " vsce publish --no-dependencies" ,
73- "pack" : " vsce package --no-dependencies"
73+ "package" : " vsce package --no-dependencies" ,
74+ "release" : " bumpp"
7475 },
7576 "nano-staged" : {
7677 "*" : " eslint --fix"
You can’t perform that action at this time.
0 commit comments