GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Allow actions to specify target registry domain to publish by rayriffy · Pull Request #309 · changesets/action

Conversation

@rayriffy

@rayriffy rayriffy commented Jul 1, 2023

Copy link
Copy Markdown

At the moment GitHub Actions will create .npmrc that only point to default's NPM registry (which is registry.npmjs.org). This actions option will allow user to change registry domain that script will create, and configure.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@rayriffy
feat: custom registry
4c56449
@changeset-bot

changeset-bot Bot commented Jul 1, 2023

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 4c56449

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@changesets/action Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

ImadBoumzaoued
ImadBoumzaoued approved these changes Jul 24, 2023
View reviewed changes
@luisfagottani

luisfagottani commented Jan 12, 2024

Copy link
Copy Markdown

Hey @ImadBoumzaoued, we need this feat to be able to define a custom registry url. Can you merge this, plz!!?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Andarist

Andarist commented Jan 12, 2024

Copy link
Copy Markdown
Member

We only create .npmrc if there is none already. The preferred solution to this is to include a preparation step like this one:

- name: Creating .npmrc
  run: |
    cat << EOF > "$HOME/.npmrc"
      //registry.npmjs.org/:_authToken=$NPM_TOKEN
    EOF
  env:
    NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

You can control your target registry in the .npmrc that you create.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@luisfagottani

luisfagottani commented Jan 15, 2024

Copy link
Copy Markdown

That's right @Andarist, but I didin't need the home variable, just created with .npmrc path and works.

The only thing I think it's a little strange is the output from changeset warning me that doesn't exist a npm user file, even if I created an step before.

image

Otherwise, all good.

rayriffy reacted with eyes emoji
All reactions
  • 👀 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bluwy bluwy mentioned this pull request Jul 23, 2026
Remove npm auth handling in favor of docs #695
Merged
@bluwy bluwy closed this in #695 Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@ImadBoumzaoued ImadBoumzaoued ImadBoumzaoued approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@rayriffy @luisfagottani @Andarist @ImadBoumzaoued
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.