Skip to content

Conversation

@ryoppippi
Copy link
Member

@ryoppippi ryoppippi commented Dec 15, 2025

Summary by cubic

Reverts the release pipeline changes from 2.0.5–2.0.7 to restore direct pnpm publish with provenance. Also tightens local tooling and simplifies the dev shell.

  • Bug Fixes
    • Release workflow: remove pack step and custom npm publish; use pnpm publish with --provenance and --no-git-checks via nix.
    • flake.nix: drop nodejs_24 from devShell.
    • package.json: add preinstall to enforce pnpm; prepack deletes it before publishing.

Written for commit e655535. Summary will update automatically on new commits.

Copilot AI review requested due to automatic review settings December 15, 2025 18:14
@ryoppippi ryoppippi requested a review from a team as a code owner December 15, 2025 18:14
@ryoppippi ryoppippi enabled auto-merge (squash) December 15, 2025 18:14
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 reverts changes made in versions 2.0.5 through 2.0.7, restoring the CI/CD pipeline configuration and development environment setup to their previous state.

Key changes:

  • Restored the preinstall script to enforce pnpm usage
  • Simplified the release workflow by removing intermediate pack step
  • Removed explicit Node.js dependency from the Nix development shell

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
package.json Re-added preinstall script to enforce pnpm package manager
flake.nix Removed nodejs_24 from development shell dependencies
.github/workflows/release.yaml Simplified publishing by directly using pnpm publish instead of pack/publish sequence

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

in
{
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
Copy link

Copilot AI Dec 15, 2025

Choose a reason for hiding this comment

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

Removing nodejs_24 from buildInputs while keeping pnpm_10 may cause issues, as pnpm requires Node.js to function. Either Node.js should be included explicitly or pnpm_10 should provide it as a dependency. Verify that pnpm_10 includes Node.js or re-add nodejs to the buildInputs.

Suggested change
buildInputs = with pkgs; [
buildInputs = with pkgs; [
nodejs_24

Copilot uses AI. Check for mistakes.
PACKAGE_TGZ=$(ls *.tgz | head -n 1)
echo "Publishing package: $PACKAGE_TGZ"
npm publish "$PACKAGE_TGZ" --access public
run: nix develop --command pnpm publish --provenance --no-git-checks --access public
Copy link

Copilot AI Dec 15, 2025

Choose a reason for hiding this comment

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

The --no-git-checks flag bypasses important safety checks that verify the working directory is clean and the git tag matches the package version. This could lead to publishing packages with uncommitted changes or version mismatches. Consider removing this flag unless there is a specific reason to bypass these validations.

Suggested change
run: nix develop --command pnpm publish --provenance --no-git-checks --access public
run: nix develop --command pnpm publish --provenance --access public

Copilot uses AI. Check for mistakes.
@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 15, 2025

Open in StackBlitz

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

commit: e655535

Copy link
Contributor

@glebedel glebedel left a comment

Choose a reason for hiding this comment

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

LGTM

@ryoppippi ryoppippi merged commit 91909a2 into main Dec 15, 2025
12 checks passed
@ryoppippi ryoppippi deleted the revert-ci-changes branch December 15, 2025 18:16
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 3 files

ryoppippi added a commit that referenced this pull request Dec 15, 2025
ryoppippi added a commit that referenced this pull request Dec 16, 2025
ryoppippi added a commit that referenced this pull request Dec 16, 2025
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