Skip to content

Conversation

@rochlefebvre
Copy link
Contributor

What are you trying to accomplish?

We currently cannot release a new version of our gem due to an error in the npm release flow.

Create release Pull Request or publish to NPM step

Run changesets/action@v[1](https://github.com/Shopify/worldwide/actions/runs/15397227305/job/43320963546#step:6:1)
  with:
    publish: pnpm release
    cwd: lang/typescript
    title: Version NPM Package
    commit: Version NPM Package
    setupGitUser: true
    createGithubReleases: true
    commitMode: git-cli
  env:
    PNPM_HOME: /home/runner/setup-pnpm/node_modules/.bin
    NPM_TOKEN: ***
    GITHUB_TOKEN: ***
    NPM_CONFIG_PROVENANCE: true
setting git user
/usr/bin/git config user.name "github-actions[bot]"
/usr/bin/git config user.email "41898[2](https://github.com/Shopify/worldwide/actions/runs/15397227305/job/43320963546#step:6:2)82+github-actions[bot]@users.noreply.github.com"
setting GitHub credentials
Error: Error: There is no .changeset directory in this project
Error: There is no .changeset directory in this project

I found this existing bug on the action's repo. Users are rolling back to an older version until a fix such as this one restores proper support for the cwd action param.

What approach did you choose and why?

Pin to 1.5.1 which seems to have worked for others.

Testing

We'll see what happens during the release process!

Checklist

  • I have added a CHANGELOG entry for this change (or determined that it isn't needed)

@rochlefebvre rochlefebvre requested a review from a team June 6, 2025 15:02
@rochlefebvre rochlefebvre marked this pull request as ready for review June 6, 2025 15:02
@rochlefebvre rochlefebvre merged commit 583615f into main Jun 6, 2025
10 checks passed
@rochlefebvre rochlefebvre deleted the pin-changesets-gh-action-to-avoid-release-blocker branch June 6, 2025 17:35
@rochlefebvre
Copy link
Contributor Author

That worked!

image

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