Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Add pipeline for publishing to marketplace #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rvfch
Copy link

@rvfch rvfch commented Dec 20, 2024

  • ❗️ Need to set up VSCE_TOKEN (marketplace API key) environment variable in the repository settings.

Ref #2

@rvfch rvfch self-assigned this Dec 20, 2024
@rvfch rvfch requested a review from pavelsvagr December 20, 2024 13:27
@rvfch rvfch force-pushed the feat/add-vscode-marketplace-pipeline branch from 2d74684 to 69d0993 Compare December 20, 2024 13:31
package.json Outdated
@@ -22,6 +22,7 @@
"contributes": {},
"scripts": {
"vscode:prepublish": "npm run compile",
"vscode:publish": "vsce publish",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How the vsce gets into remote ubuntu/latest environment? Is the tool included in actions/setup-node@v4?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, you're right. What would be better in your opinion:

  • Add vsce dependency to package.json
  • Globally install vsce and publish in gh workflow and remove this line at all?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would install vsce in workflow only.
Please, use some predefined action for that e.g. github-action-for-vsce

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

.github/workflows/publish.yml Outdated Show resolved Hide resolved
@rvfch rvfch force-pushed the feat/add-vscode-marketplace-pipeline branch from 69d0993 to dd8c4b9 Compare January 29, 2025 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants