ci: optional token

This commit is contained in:
undefined committed 2021-05-29 18:40:17 +08:00
1 parent 103f0e9eff
commit 928a7f1f68
1 file changed
+1 -1
+1 -1
View File
@@ -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