Skip to content

Improved package pubblication example using yarn

Marco Zille requested to merge zillemarco-master-patch-0b6b into master
  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

What does this MR do and why?

While trying to deploy a package to the GitLab package registry using Yarn, I tried to follow the example provided but I was hit by an error reported by Yarn when running yarn npm publish:

YN0033: No authentication configured for request

After digging a bit, that error was caused by an error in my configuration that I copy-pasted from the example.

This MR fixes that and another small typo I found 🙂

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

N.A.

How to set up and validate locally

N.A.

Edited by 🤖 GitLab Bot 🤖

Merge request reports