Compare commits
5 Commits
d895f58963
...
0.0.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
a31a1bd3e2
|
|||
|
d6450fd597
|
|||
|
c4f97e252d
|
|||
|
77e4df420e
|
|||
|
f6467a82c2
|
@@ -18,7 +18,7 @@ jobs:
|
|||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '14'
|
node-version: '23.9.0'
|
||||||
|
|
||||||
# Step 3: Install jq for JSON parsing
|
# Step 3: Install jq for JSON parsing
|
||||||
- name: Install jq
|
- name: Install jq
|
||||||
@@ -28,13 +28,13 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
# Step 5: Install vsce globally
|
# Step 5: Install vsce
|
||||||
- name: Install vsce globally
|
- name: Install vsce
|
||||||
run: npm install @vscode/vsce
|
run: npm install @vscode/vsce
|
||||||
|
|
||||||
# Step 6: Install additional dev dependencies for building inside prompter directory
|
# Step 6: Install additional dev dependencies for building inside prompter directory
|
||||||
- name: Install build tools
|
- name: Install build tools
|
||||||
run: npm install --save-dev webpack webpack-cli ts-loader
|
run: npm install --save-dev webpack webpack-cli ts-loader codegen
|
||||||
|
|
||||||
# Step 7: Build the extension inside prompter directory
|
# Step 7: Build the extension inside prompter directory
|
||||||
- name: Build the extension
|
- name: Build the extension
|
||||||
@@ -42,7 +42,7 @@ jobs:
|
|||||||
|
|
||||||
# Step 8: Package the extension into a VSIX file inside prompter directory
|
# Step 8: Package the extension into a VSIX file inside prompter directory
|
||||||
- name: Package the extension
|
- name: Package the extension
|
||||||
run: vsce package
|
run: npx vsce package
|
||||||
|
|
||||||
# Step 9: Extract the tag name from gitea.ref
|
# Step 9: Extract the tag name from gitea.ref
|
||||||
- name: Extract tag name
|
- name: Extract tag name
|
||||||
@@ -80,5 +80,5 @@ jobs:
|
|||||||
curl -X POST \
|
curl -X POST \
|
||||||
-H "Authorization: token ${{ gitea.token }}" \
|
-H "Authorization: token ${{ gitea.token }}" \
|
||||||
-H "Content-Type: application/octet-stream" \
|
-H "Content-Type: application/octet-stream" \
|
||||||
--data-binary @"prompter/$VSIX_FILE" \
|
--data-binary @"$VSIX_FILE" \
|
||||||
https://git.bhakat.dev/api/v1/repos/abhishekbhakat/Prompter/releases/$RELEASE_ID/assets?name=$VSIX_FILE
|
https://git.bhakat.dev/api/v1/repos/abhishekbhakat/Prompter/releases/$RELEASE_ID/assets?name=$VSIX_FILE
|
||||||
|
|||||||
@@ -97,6 +97,7 @@
|
|||||||
"@typescript-eslint/parser": "^8.25.0",
|
"@typescript-eslint/parser": "^8.25.0",
|
||||||
"@vscode/test-cli": "^0.0.10",
|
"@vscode/test-cli": "^0.0.10",
|
||||||
"@vscode/test-electron": "^2.4.1",
|
"@vscode/test-electron": "^2.4.1",
|
||||||
|
"ajv": "^8.17.0",
|
||||||
"eslint": "^9.21.0",
|
"eslint": "^9.21.0",
|
||||||
"ts-loader": "^9.5.2",
|
"ts-loader": "^9.5.2",
|
||||||
"typescript": "^5.7.3",
|
"typescript": "^5.7.3",
|
||||||
@@ -104,7 +105,6 @@
|
|||||||
"webpack-cli": "^6.0.1"
|
"webpack-cli": "^6.0.1"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vscode/vsce": "^3.2.2",
|
|
||||||
"ignore": "^7.0.3"
|
"ignore": "^7.0.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user