Skip to content

Commit

Permalink
fix: actions yaml bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
bucko13 committed Nov 6, 2023
1 parent 6c2b47b commit c7e05cf
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: node
package-name: unchained-wallets
Expand All @@ -23,15 +24,15 @@ jobs:
- uses: actions/checkout@v2
# these if statements ensure that a publication only occurs when
# a new release is created:
if: ${{ steps.release.outputs.release_created }}
if: ${{ steps.release.outputs.releases_created }}
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
if: ${{ steps.release.outputs.release_created }}
if: ${{ steps.release.outputs.releases_created }}
- run: npm ci
if: ${{ steps.release.outputs.release_created }}
if: ${{ steps.release.outputs.releases_created }}
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
if: ${{ steps.release.outputs.release_created }}
if: ${{ steps.release.outputs.releases_created }}

0 comments on commit c7e05cf

Please sign in to comment.