Skip to content

Commit

Permalink
Merge pull request #7 from jpbnetley/feature/test
Browse files Browse the repository at this point in the history
fix: build with better names
  • Loading branch information
jpbnetley authored Feb 10, 2022
2 parents eae9381 + d93eaf6 commit 14098cb
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@ concurrency:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
release-please:
github-release:
runs-on: ubuntu-latest
steps:
#Generates github release notes once release-pr is merged
- uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: node
package-name: ${{ github.event.repository.name }}
command: github-release
token: ${{ secrets.GITHUB_TOKEN }}
default-branch: main

Expand Down Expand Up @@ -57,4 +59,19 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm publish
npm publish
release-pr:
runs-on: ubuntu-latest
needs:
- github-release
strategy:
fail-fast: false
steps:
- uses: google-github-actions/release-please-action@v3
with:
release-type: node
package-name: ${{ github.event.repository.name }}
command: release-pr
token: ${{ secrets.GITHUB_TOKEN }}
default-branch: main

0 comments on commit 14098cb

Please sign in to comment.