We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6dedc8 commit ac23ba2Copy full SHA for ac23ba2
.github/workflows/publish.yml
@@ -13,13 +13,6 @@ jobs:
13
packages: write
14
id-token: write
15
steps:
16
- - uses: step-security/wait-for-secrets@v1
17
- id: wait-for-secrets
18
- with:
19
- secrets: |
20
- OTP:
21
- name: 'OTP to publish package'
22
- description: 'OTP from authenticator app'
23
- uses: actions/checkout@v4
24
- uses: actions/setup-node@v4
25
with:
@@ -28,6 +21,13 @@ jobs:
28
cache: "yarn"
29
- run: yarn --frozen-lockfile
30
- run: yarn test
+ - uses: step-security/wait-for-secrets@v1
+ id: wait-for-secrets
26
+ with:
27
+ secrets: |
+ OTP:
+ name: 'OTP to publish package'
+ description: 'OTP from authenticator app'
31
- run: npm publish --otp ${{ steps.wait-for-secrets.outputs.OTP }}
32
env:
33
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments