chore(deps): update dependency @commitlint/cli to v19.4.1 #240
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
name: Test and release | |
on: | |
push: | |
tags: ['*'] | |
branches-ignore: | |
- 'autodelivery**' | |
- 'bump-**' | |
- 'renovate/**' | |
paths-ignore: | |
- 'CHANGELOG.md' | |
- 'LICENSE' | |
- 'README.md' | |
- 'renovate.json' | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Test the action | |
uses: ./ | |
with: | |
working-dir: "./test/" | |
java-version: "17.0.3" | |
pgp-secret: ${{ secrets.PGP_SECRET }} | |
pgp-passphrase: ${{ secrets.PGP_PASSPHRASE }} | |
sonatype-username: ${{ secrets.SONATYPE_USERNAME }} | |
sonatype-password: ${{ secrets.SONATYPE_PASSWORD }} | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
release: | |
name: Release | |
needs: [test] | |
runs-on: ubuntu-latest | |
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/alpha' || github.ref == 'refs/heads/beta') | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: release Action | |
run: | | |
npm install | |
npx semantic-release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |