Skip to content

Commit

Permalink
trigger npmrc validation
Browse files Browse the repository at this point in the history
  • Loading branch information
hipstersmoothie committed Mar 14, 2021
1 parent 6f883b0 commit 2c99f82
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/npm/src/index.ts
Expand Up @@ -1501,6 +1501,8 @@ export default class NPMPlugin implements IPlugin {
private async setTokenOnCI(auto: Auto) {
try {
await setTokenOnCI(auto.logger);
// This will make NPM actually check if the npmrc is valid for the env
await execPromise("npm", ["root"]);
} catch (error) {
if (
// eslint-disable-next-line no-template-curly-in-string
Expand Down

0 comments on commit 2c99f82

Please sign in to comment.