Skip to content

Commit 537e029

Browse files
authored
Merge pull request #11 from doc-detective/copilot/fix-10
Attach VSIX bundle to GitHub releases
2 parents 084e578 + 3f3a9af commit 537e029

File tree

4 files changed

+44
-61720
lines changed

4 files changed

+44
-61720
lines changed

.github/workflows/test-publish.yaml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,22 @@ jobs:
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}}

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff 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

2240
1. Open a file that contains Doc Detective tests or inline test steps

0 commit comments

Comments
 (0)