Add information about always-auth input (#585)

This commit is contained in:
Dmitry Shibanov 2022-10-03 15:15:33 +02:00 committed by GitHub
parent 969bd26639
commit c96ab56c5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.