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

ci: provide npm publish from PR pipeline #68

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

antongolub
Copy link
Contributor

@antongolub antongolub commented Oct 29, 2024

@pradel ,
This might be useful for proposals testing

@antongolub
Copy link
Contributor Author

@pradel ,
What's your vision here?

@pradel
Copy link
Owner

pradel commented Nov 22, 2024

@antongolub sounds good, I will review the prs once I have a bit of time, these days are quite busy (in about 1/2 weeks)

Copy link
Owner

@pradel pradel left a comment

Choose a reason for hiding this comment

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

That's will be helpful for testing, just a couple of changes if possible :)

.github/workflows/npm-publish-from-pr.yml Show resolved Hide resolved
workflow_dispatch:
inputs:
repo:
description: 'gh repo, like `scope/name`'
Copy link
Owner

Choose a reason for hiding this comment

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

can this be inferred?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, if rely on PR ref, we can obtain both repo and branch attrs

with:
name: build-pr-${{ github.run_id }}
path: |
esbuild-node-externals/dist
Copy link
Owner

Choose a reason for hiding this comment

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

can we just publish everything that is in esbuild-node-externals?

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