mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
ci: optional token
This commit is contained in:
1 parent
103f0e9eff
commit
928a7f1f68
1 file changed
+1
-1
@@ -24,7 +24,7 @@ jobs:
|
||||
node-version: 14.x
|
||||
- name: Config
|
||||
run: |
|
||||
echo "npmAuthToken: ${{secrets.NPM_TOKEN}}" >> .yarnrc.yml
|
||||
[[ ! -z $(${{secrets.NPM_TOKEN}}) ]] && echo "npmAuthToken: ${{secrets.NPM_TOKEN}}" >> .yarnrc.yml
|
||||
git config --global user.name undefined
|
||||
git config --global user.email i@undefined.moe
|
||||
- name: Install
|
||||
|
||||
Reference in new issue
Block a user