-
Notifications
You must be signed in to change notification settings - Fork 249
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
E404 Not Found - PUT for published packages #98
E404 Not Found - PUT for published packages #98
Comments
Same here, any updates on this? |
Found the answer:
|
+1, seeing the same issue. Creating an Afaict, the main outlier between my use case (and talentlessguy's) is usage of |
Just following up: I was able to get this working. I had tried a few methods of creating an I ended up creating and commiting an
However, this may be a real bug in the Changesets action, since the README here states that it outputs a
Here's essentially the workflow I ended up with (including name: CD
on:
push:
branches:
- main
env:
PNPM_CACHE_FOLDER: .pnpm-store
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
# env stuff
- name: checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: node - setup
uses: actions/setup-node@v2
with:
node-version: 14.x
# pnpm stuff
- name: pnpm - install
run: npm i pnpm@latest -g
- name: pnpm - config
run: pnpm config set store-dir $PNPM_CACHE_FOLDER
- name: pnpm - install
run: pnpm install
# build
- name: build
run: pnpm build
# publish to npm
- name: release
id: changesets
uses: changesets/action@master
with:
publish: pnpm release
version: pnpm version-packages
commit: 'chore: version packages'
title: 'chore: version packages'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
Hm, the problem seems to be that Lines 45 to 47 in c3d8827
I'll try to take a look at actions preceding it to see if it got created there or what is happening here. And I'll try to think about how we should handle this. |
Ah, you're right, I totally missed that log. It's probably pnpm creating one with |
I've created a PR that, hopefully, should help with this problem: #110 |
The improvement from the commit above has landed. This should fix the @estrattonbailey's problem and hopefully, it should also fix the OP's problem. If you bump into any more issues - please open a new thread with a repro case. |
well yeah... someone forgot to fix the manual terminal command line way
this is the worst implementation I have ever seen
|
@nhhockeyplayer Could you rephrase? I don't know if you are reporting a new issue, posting a workaround, or just blaming npm's CLI for something or blaming Changesets for something. |
hello, @Andarist excuse me, When executing locally, you need a npmToken in npmrc, right? |
I'm using changesets github action to publish packages after running changesets version locally.
This is what I have in my github actions:
this is what I get in actions logs:
When I run
pnpm release
locally, it runs just fineThe text was updated successfully, but these errors were encountered: