Skip to content

Conversation

@ryoppippi
Copy link
Contributor

This pull request introduces a new GitHub Actions workflow to perform a dry run of publishing a package using pkg.pr.new.

New GitHub Actions Workflow:

  • .github/workflows/dry-publish.yml: Added a workflow named "Dry Run Publish Package with pkg.pr.new" that triggers on pull_request and push events. It includes steps to check out the code, install dependencies using Bun, build the package, and perform a dry run of publishing with pkg-pr-new.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a new GitHub Actions workflow to perform a dry run of publishing a package using pkg-pr.new.

  • Introduces .github/workflows/dry-publish.yml workflow
  • Sets up Bun, installs dependencies, builds, and runs a dry-publish step
  • Triggers on both pull_request and push events
Comments suppressed due to low confidence (3)

.github/workflows/dry-publish.yml:8

  • The job ID 'lint' is misleading since this workflow builds and dry-publishes rather than linting. Consider renaming it to something like 'dry_publish' or 'publish_dry_run' for clarity.
  lint:

.github/workflows/dry-publish.yml:5

  • The push trigger will run on every branch by default, which could lead to unnecessary CI runs. Consider limiting it to specific branches (e.g., 'main' or 'release/*').
  push:

.github/workflows/dry-publish.yml:23

  • For reproducibility, you may want to pin the version of pkg-pr-new (for example, via a devDependency or explicit version flag) to avoid unexpected changes on future runs.
        run: bun x pkg-pr-new publish

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jun 30, 2025

Open in StackBlitz

npm i https://pkg.pr.new/StackOneHQ/stackone-ai-node/@stackone/ai@58

commit: f974558

@ryoppippi
Copy link
Contributor Author

fixed job name. done

@ryoppippi ryoppippi merged commit 4757773 into main Jun 30, 2025
7 checks passed
@ryoppippi ryoppippi deleted the pkg-pr-new branch June 30, 2025 12:15
@ryoppippi
Copy link
Contributor Author

Thanks!

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.

3 participants