From c96ab56c5b0ebc955a5dd6bb6f1813c2f91b8658 Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Mon, 3 Oct 2022 15:15:33 +0200 Subject: [PATCH] Add information about always-auth input (#585) --- docs/advanced-usage.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/advanced-usage.md b/docs/advanced-usage.md index c0f649a9..4b620cbd 100644 --- a/docs/advanced-usage.md +++ b/docs/advanced-usage.md @@ -283,3 +283,6 @@ steps: run: yarn install --immutable ``` NOTE: As per https://github.com/actions/setup-node/issues/49 you cannot use `secrets.GITHUB_TOKEN` to access private GitHub Packages within the same organisation but in a different repository. + +### always-auth input +The always-auth input sets `always-auth=true` in .npmrc file. With this option set [npm](https://docs.npmjs.com/cli/v6/using-npm/config#always-auth)/yarn sends the authentication credentials when making a request to the registries.