formhero/.github/workflows/release-please.yml

26 lines
616 B
YAML
Raw Permalink Normal View History

2023-03-06 09:06:15 +00:00
name: release-please
2023-03-03 22:53:47 +00:00
on:
push:
branches:
- main
2023-03-06 09:06:15 +00:00
2023-03-03 22:53:47 +00:00
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
2023-03-06 08:53:41 +00:00
id: release
2023-03-03 22:53:47 +00:00
with:
release-type: node
2023-03-06 08:53:41 +00:00
package-name: formhero
- uses: actions/checkout@v3
if: ${{ steps.release.outputs.release_created }}
- uses: ./.github/actions/build
if: ${{ steps.release.outputs.release_created }}
- run: pnpm publish
if: ${{ steps.release.outputs.release_created }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}