Compare commits

6 Commits

Author SHA1 Message Date
a31a1bd3e2 fix upload path
All checks were successful
Release VSCode Extension / release (push) Successful in 33s
2025-03-27 10:04:39 +00:00
d6450fd597 Add ajv
Some checks failed
Release VSCode Extension / release (push) Failing after 43s
2025-03-27 10:02:27 +00:00
c4f97e252d Bump node 2025-03-27 10:01:46 +00:00
77e4df420e Deps sorting and codegen for build
Some checks failed
Release VSCode Extension / release (push) Failing after 40s
2025-03-27 07:23:40 +00:00
f6467a82c2 refactor comments 2025-03-27 07:17:22 +00:00
d895f58963 no global vsce and using new name
Some checks failed
Release VSCode Extension / release (push) Failing after 26s
2025-03-27 07:14:53 +00:00
2 changed files with 9 additions and 9 deletions

View File

@@ -18,7 +18,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '23.9.0'
# Step 3: Install jq for JSON parsing
- name: Install jq
@@ -28,13 +28,13 @@ jobs:
- name: Install dependencies
run: npm install
# Step 5: Install vsce globally
- name: Install vsce globally
run: npm install -g vsce
# Step 5: Install vsce
- name: Install vsce
run: npm install @vscode/vsce
# Step 6: Install additional dev dependencies for building inside prompter directory
- 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
- name: Build the extension
@@ -42,7 +42,7 @@ jobs:
# Step 8: Package the extension into a VSIX file inside prompter directory
- name: Package the extension
run: vsce package
run: npx vsce package
# Step 9: Extract the tag name from gitea.ref
- name: Extract tag name
@@ -80,5 +80,5 @@ jobs:
curl -X POST \
-H "Authorization: token ${{ gitea.token }}" \
-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

View File

@@ -97,6 +97,7 @@
"@typescript-eslint/parser": "^8.25.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"ajv": "^8.17.0",
"eslint": "^9.21.0",
"ts-loader": "^9.5.2",
"typescript": "^5.7.3",
@@ -104,7 +105,6 @@
"webpack-cli": "^6.0.1"
},
"dependencies": {
"@vscode/vsce": "^3.2.2",
"ignore": "^7.0.3"
}
}
}