-
-
Notifications
You must be signed in to change notification settings - Fork 590
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
Revert "Update JS-DevTools/npm-publish action to v2 (#3336)" #3350
Conversation
Attempting to fix failure to publish to NPM due to an "invalid token" error https://github.com/matrix-org/matrix-js-sdk/actions/runs/4926808655/jobs/8819822367 . This reverts commit ca9263f.
Indeed, due to the major update of npm-publish, the
So the subsequent npm commands fail. Regressed by #3336 |
Which subsequent npm commands? I only see one in this workflow. |
https://github.com/matrix-org/matrix-js-sdk/blob/develop/.github/workflows/release-npm.yml#L25-L31 runs https://github.com/matrix-org/matrix-js-sdk/blob/develop/.github/workflows/release-npm.yml#L37 is the subsequent (not publish) npm command. |
@t3chguy ah, thank you! I was not making the leap from release.yml to release-npm.yml |
Feels like we should be able to specify multiple tags to npm-publish. I'll look at that if I have time. |
That would be a nice modification, but the underlying |
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-staging staging
# Navigate to the new working tree
cd .worktrees/backport-staging
# Create a new branch
git switch --create backport-3350-to-staging
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 73ca9c9ed28847454e13da358c581769e695ff42
# Push it to GitHub
git push --set-upstream origin backport-3350-to-staging
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-staging Then, create a pull request where the |
Attempting to fix failure to publish to NPM due to an "invalid token" error https://github.com/matrix-org/matrix-js-sdk/actions/runs/4926808655/jobs/8819822367 .
This reverts commit ca9263f.
This change is marked as an internal change (Task), so will not be included in the changelog.