File tree Expand file tree Collapse file tree 4 files changed +44
-61720
lines changed
Expand file tree Collapse file tree 4 files changed +44
-61720
lines changed Original file line number Diff line number Diff line change 5353 cache-dependency-path : package-lock.json
5454 registry-url : https://registry.npmjs.org/
5555
56- - run : npm ci
57- - run : npx vsce publish --no-yarn
56+ - name : Install dependencies
57+ run : npm ci
58+
59+ # Package the VSIX file
60+ - name : Package VSIX
61+ run : npx vsce package
62+
63+ # Upload VSIX to release
64+ - name : Upload VSIX to Release
65+ uses : softprops/action-gh-release@v1
66+ with :
67+ files : " *.vsix"
68+ tag_name : ${{ github.event.release.tag_name }}
69+
70+ # Publish to VS Code Marketplace
71+ - name : Publish to VS Code Marketplace
72+ run : npx vsce publish --no-yarn
5873 env :
5974 VSCE_PAT : ${{secrets.VSCODE_MARKETPLACE_TOKEN}}
Original file line number Diff line number Diff line change @@ -17,6 +17,24 @@ Doc Detective is a documentation testing framework that helps validate documenta
1717
1818- Visual Studio Code v1.100.0 or higher
1919
20+ ## Installation
21+
22+ ### Via VS Code Marketplace
23+
24+ 1 . Open VS Code
25+ 2 . Go to the Extensions view (Ctrl+Shift+X)
26+ 3 . Search for "Doc Detective"
27+ 4 . Click Install
28+
29+ ### Manual Installation
30+
31+ If you prefer to install the extension manually:
32+
33+ 1 . Download the VSIX file from the [ latest release] ( https://github.com/doc-detective/vscode/releases/latest )
34+ 2 . In VS Code, go to the Extensions view (Ctrl+Shift+X)
35+ 3 . Click the "..." menu in the top right of the Extensions view
36+ 4 . Select "Install from VSIX..." and choose the downloaded file
37+
2038## Using Doc Detective Extension
2139
22401 . Open a file that contains Doc Detective tests or inline test steps
You can’t perform that action at this time.
0 commit comments