Skip to content

Add support for publishing to npm from GitHub#26

Merged
skirtles-code merged 1 commit intomainfrom
trusted-publishing-support
Apr 20, 2026
Merged

Add support for publishing to npm from GitHub#26
skirtles-code merged 1 commit intomainfrom
trusted-publishing-support

Conversation

@skirtles-code
Copy link
Copy Markdown
Owner

The main addition in this PR is publishing to npm from GitHub with trusted publishing. The project itself already uses trusted publishing since #24. This is now supported for the projects it creates.

While updating the docs it became apparent that the other workflows are a little more restrictive than they need to be, only running for changes/PRs targeting the main branch and not running on forks even in cases where that would be useful. That has also been adjusted.

pages.yml.ejs has also been synced with pages.yml, so that it no longer runs for pushes to main. It can still be run manually and is also triggered by publishing to npm via publish.yml. This is to ensure that the docs don't get ahead of released changes.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 17, 2026

Open in StackBlitz

pnpm dlx https://pkg.pr.new/@skirtle/create-vue-lib@26

commit: 72ab4d1

@skirtles-code skirtles-code merged commit f550e66 into main Apr 20, 2026
3 checks passed
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.

1 participant