File tree Expand file tree Collapse file tree 3 files changed +23
-6
lines changed
Expand file tree Collapse file tree 3 files changed +23
-6
lines changed Original file line number Diff line number Diff line change 2222 - run : bun install
2323 - run : bun run lint
2424 - run : bun run build
25+ - run : bun run pretest
2526
2627 # publish the extension to marketplaces
2728 publish :
Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ branches :
4+ - main
5+
6+ permissions :
7+ contents : write
8+ pull-requests : write
9+
10+ name : release-please
11+
12+ jobs :
13+ release-please :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : googleapis/release-please-action@v4
17+ with :
18+ # this is a built-in strategy in release-please, see "Action Inputs"
19+ # for more options
20+ release-type : node
Original file line number Diff line number Diff line change 136136 "js-yaml" : " ^4.1.0" ,
137137 "lefthook" : " ^1.10.7" ,
138138 "ovsx" : " ^0.10.1" ,
139- "standard-version" : " ^9.5.0" ,
140139 "@vscode/test-cli" : " *" ,
141140 "@vscode/test-electron" : " *" ,
142141 "vscode-tmgrammar-test" : " *" ,
149148 "watch" : " bun run build-base --sourcemap --watch" ,
150149 "postinstall" : " lefthook install" ,
151150 "clean" : " rm -rd dist" ,
152- "prerelease" : " bun install && bun run lint && bun run clean && bun run build" ,
153- "release" : " standard-version" ,
154- "postrelease" : " git push --follow-tags" ,
155151 "prepackage" : " rm -f *.vsix" ,
156152 "package" : " bun run build && bunx vsce package" ,
157153 "publish:ovsx" : " bunx ovsx publish *.vsix --pat '$OVS_PAT'" ,
158154 "publish:vsce" : " bunx vsce publish" ,
159155 "publish" : " bun run package && bun run publish:vsce && bun run publish:ovsx" ,
160- "test:grammar " : " bun run build && vscode-tmgrammar-snap 'syntaxes/tests/*.nix'" ,
161- "test" : " bun run test:grammar && vscode-test" ,
156+ "pretest " : " bun run build && vscode-tmgrammar-snap 'syntaxes/tests/*.nix'" ,
157+ "test" : " vscode-test" ,
162158 "lint" : " bun x biome check --write src"
163159 },
164160 "dependencies" : {
You can’t perform that action at this time.
0 commit comments