Skip to content

Commit

Permalink
chore: add publish automation (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
lholmquist authored May 31, 2023
1 parent 71d8426 commit 130d1d9
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,24 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v3
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
release-type: node
package-name: kube-service-bindings

- uses: actions/checkout@v3
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: 'https://registry.npmjs.org'
if: ${{ steps.release.outputs.release_created }}
- run: npm ci
if: ${{ steps.release.outputs.release_created }}
- run: npm test
if: ${{ steps.release.outputs.release_created }}
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.KUBE_SERVICE_BINDINGS_PUBLISH}}
if: ${{ steps.release.outputs.release_created }}

0 comments on commit 130d1d9

Please sign in to comment.