Skip to content

Commit e55696e

Browse files
authored
Fix Package Publish Workflow (#11)
* fixing access to codeartifact login script * adjust namespace to match other Roo packages * addling line to install vsce to Github action * removing namespace as it is not valid for extension name * version bump * updating package-lock and doing full install for publish action * update workflow package install steps * update package install steps
1 parent ef87bc0 commit e55696e

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.github/workflows/npm-publish.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,19 @@ jobs:
3131
git config user.name github-actions
3232
git config user.email [email protected]
3333
- run: |
34+
npm install -g vsce
3435
npm run co:login
35-
latest_published_version=$(npm show @roo-dev/roo-cline version)
36+
latest_published_version=$(npm show roo-cline version)
3637
current_package_version=$(node -p "require('./package.json').version")
3738
echo "Latest published version: $latest_published_version"
3839
echo "Current package version: $current_package_version"
3940
if [ "$latest_published_version" == "$current_package_version" ]; then
4041
echo "Latest version is already published to NPM"
4142
else
4243
npm install
44+
cd webview-ui
45+
npm install
46+
cd ..
4347
npm run vsix
4448
npm publish
4549
echo "Successfully published to NPM"

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/codeartifact-login.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)