File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 14
14
- command : yarn install
15
15
plugins :
16
16
seek-oss/private-npm :
17
- token : abc123
17
+ token : ${NPM_TOKEN}
18
18
` ` `
19
19
20
20
You can also specify a custom npm registry if you are using your own mirror.
@@ -24,15 +24,15 @@ steps:
24
24
- command : yarn install
25
25
plugins :
26
26
seek-oss/private-npm :
27
- token : abc123
27
+ token : ${NPM_TOKEN}
28
28
registry : //myprivatenpm.com/
29
29
` ` `
30
30
31
31
## Configuration
32
32
### ` token` (required)
33
33
The value of the NPM token.
34
34
35
- > *NOTE* It's bad security to put your tokens into source control, so ideally this should be injected through the environment
35
+ > *NOTE* It's bad security practise to put your secrets into source control. A better idea is to use environment variables.
36
36
37
37
# ## `registry` (optional)
38
38
The path to a private npm repository. Please ensure you supply the trailing `/`!
You can’t perform that action at this time.
0 commit comments