File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -94,32 +94,17 @@ jobs:
9494 - name : Lerna Version 🏷️
9595 env :
9696 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
97- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
98- NPM_CONFIG_PROVENANCE : true
9997 run : |
10098 git config --global user.name "${{ github.actor }}"
10199 git config --global user.email "${{ github.actor }}@users.noreply.github.com"
102- pnpm whoami
103100 pnpm exec ${{ env.LERNA_VERSION_QUERY }}
104101
105- - name : OTP
106- if : ${{ inputs.dryrun != true }}
107- uses : step-security/wait-for-secrets@v1
108- id : wait-for-secrets
109- with :
110- secrets : |
111- OTP:
112- name: 'OTP to publish package'
113- description: 'OTP from authenticator app'
114-
115102 - name : Lerna Publish 📦
116103 if : ${{ inputs.dryrun != true }}
117104 env :
118105 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
119- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
120- NPM_CONFIG_PROVENANCE : true
121106 run : |
122- pnpm exec lerna publish from-package --force-publish --yes --otp ${{ steps.wait-for-secrets.outputs.OTP }}
107+ pnpm exec lerna publish from-package --force-publish --yes
123108
124109 - name : Build Website (GitHub demo site)
125110 if : ${{ inputs.dryrun != true }}
You can’t perform that action at this time.
0 commit comments