Download private module from Github Package Registry via Yarn within a Github Action? Publishing works, but installing is met with '401 Unauthorized'
问题 For various reasons we are stuck using yarn managing our packages so we can't rely on a package-lock.json to use npm with github actions. We cannot get Yarn to authenticate as part of a github action. We've got our repo npmrc configured as: @COMPANY:registry=https://npm.pkg.github.com registry=https://registry.npmjs.org/ And we're using this action for yarn. Here's a basic setup where we're just trying to install the modules -- nothing more. name: CI on: [push] jobs: build: name: Test runs-on