Description
I'm using changesets github action to publish packages after running changesets version locally.
This is what I have in my github actions:
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@master
with:
# This expects you to have a script called release which does a build for your packages and calls changeset publish
publish: pnpm release
commit: "chore: release"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
this is what I get in actions logs:
🦋 error an error occurred while publishing @tinyhttp/ip-filter: E404 Not Found - PUT https://registry.npmjs.org/@tinyhttp%2fip-filter - Not found
🦋 error
🦋 error '@tinyhttp/ip-filter@1.3.12' is not in the npm registry.
🦋 error You should bug the author to publish it (or use the name yourself!)
🦋 error
🦋 error Note that you can also install from a
🦋 error tarball, folder, http url, or git url.
🦋 error an error occurred while publishing @tinyhttp/app: E404 Not Found - PUT https://registry.npmjs.org/@tinyhttp%2fapp - Not found
🦋 error
🦋 error '@tinyhttp/app@1.3.12' is not in the npm registry.
🦋 error You should bug the author to publish it (or use the name yourself!)
🦋 error
🦋 error Note that you can also install from a
🦋 error tarball, folder, http url, or git url.
🦋 error an error occurred while publishing @tinyhttp/unless: E404 Not Found - PUT https://registry.npmjs.org/@tinyhttp%2funless - Not found
🦋 error
🦋 error '@tinyhttp/unless@1.3.12' is not in the npm registry.
🦋 error You should bug the author to publish it (or use the name yourself!)
🦋 error
🦋 error Note that you can also install from a
🦋 error tarball, folder, http url, or git url.
🦋 error packages failed to publish:
🦋 @tinyhttp/app@1.3.12
🦋 @tinyhttp/ip-filter@1.3.12
🦋 @tinyhttp/unless@1.3.12
ERROR Command failed with exit code 1.
Error: The process '/home/runner/setup-pnpm/node_modules/.bin/pnpm' failed with exit code 1
at a._setResult (/home/runner/work/_actions/changesets/action/master/dist/index.js:86:6638)
Error: The process '/home/runner/setup-pnpm/node_modules/.bin/pnpm' failed with exit code 1
at a.CheckComplete (/home/runner/work/_actions/changesets/action/master/dist/index.js:86:6068)
at ChildProcess.<anonymous> (/home/runner/work/_actions/changesets/action/master/dist/index.js:86:5102)
at ChildProcess.emit (events.js:210:5)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
When I run pnpm release
locally, it runs just fine
Metadata
Metadata
Assignees
Labels
No labels