feat(deploy): add (#5) #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Publish new release version | |
on: | |
push: | |
branches: | |
- 'main' | |
jobs: | |
create-release-pr: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: google-github-actions/release-please-action@v3 | |
with: | |
release-type: node | |
package-name: release-please-action | |
prerelease: false | |
- name: Check for Malformed Commit Messages | |
run: | | |
if echo "${{ steps.release-please.outputs.logs }}" | grep -q "commit could not be parsed"; then | |
echo "Malformed commit message found" | |
exit 1 | |
fi |