Skip to content

Commit 5fe08ff

Browse files
committed
fix: publish with OIDC
1 parent c342e29 commit 5fe08ff

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

.github/workflows/publish-npm-latest.yml renamed to .github/workflows/release.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff 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 }}

0 commit comments

Comments
 (0)