Skip to content

Commit

Permalink
Merge pull request #83 from leapwallet/fix/publish-workflow
Browse files Browse the repository at this point in the history
update publish workflow
  • Loading branch information
baryon2 authored Mar 13, 2024
2 parents 6abebb5 + a49f2fc commit 448fc7e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
jobs:
release:
runs-on: ubuntu-latest
if: github.event.release.prerelease == false
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
GH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
Expand All @@ -20,6 +21,7 @@ jobs:

publish-npm-registry:
runs-on: ubuntu-latest
if: github.event.release.prerelease == false
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand All @@ -43,6 +45,7 @@ jobs:

publish-gitHub-registry:
runs-on: ubuntu-latest
if: github.event.release.prerelease == false
env:
NEW_VERSION: ${{ github.ref_name }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 448fc7e

Please sign in to comment.