Skip to content

Commit

Permalink
timeout?
Browse files Browse the repository at this point in the history
  • Loading branch information
Fil committed Nov 2, 2024
1 parent b6dedc8 commit ac23ba2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@ jobs:
packages: write
id-token: write
steps:
- uses: step-security/wait-for-secrets@v1
id: wait-for-secrets
with:
secrets: |
OTP:
name: 'OTP to publish package'
description: 'OTP from authenticator app'
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
Expand All @@ -28,6 +21,13 @@ jobs:
cache: "yarn"
- run: yarn --frozen-lockfile
- run: yarn test
- uses: step-security/wait-for-secrets@v1
id: wait-for-secrets
with:
secrets: |
OTP:
name: 'OTP to publish package'
description: 'OTP from authenticator app'
- run: npm publish --otp ${{ steps.wait-for-secrets.outputs.OTP }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit ac23ba2

Please sign in to comment.