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
This commit is contained in:
ColemanRoo
2024-11-19 21:27:58 -06:00
committed by GitHub
parent ef87bc0385
commit e55696e247
3 changed files with 7 additions and 3 deletions

View File

@@ -31,8 +31,9 @@ jobs:
git config user.name github-actions
git config user.email github-actions@github.com
- run: |
npm install -g vsce
npm run co:login
latest_published_version=$(npm show @roo-dev/roo-cline version)
latest_published_version=$(npm show roo-cline version)
current_package_version=$(node -p "require('./package.json').version")
echo "Latest published version: $latest_published_version"
echo "Current package version: $current_package_version"
@@ -40,6 +41,9 @@ jobs:
echo "Latest version is already published to NPM"
else
npm install
cd webview-ui
npm install
cd ..
npm run vsix
npm publish
echo "Successfully published to NPM"