chore: husky config #97
  
    
      This file contains hidden or 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
    
  
  
    
  | on: | |
| push: | |
| branches: | |
| - main | |
| name: release-please | |
| jobs: | |
| release-please: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| id-token: write | |
| steps: | |
| - uses: googleapis/release-please-action@v4 | |
| id: release | |
| with: | |
| release-type: node | |
| package-name: 'eslint-plugin-eslint-plugin' | |
| pull-request-title-pattern: 'chore: release${component} ${version}' | |
| changelog-types: > | |
| [ | |
| { "type": "feat", "section": "Features", "hidden": false }, | |
| { "type": "fix", "section": "Bug Fixes", "hidden": false }, | |
| { "type": "docs", "section": "Documentation", "hidden": false }, | |
| { "type": "build", "section": "Build Related", "hidden": false }, | |
| { "type": "chore", "section": "Chores", "hidden": false }, | |
| { "type": "perf", "section": "Chores", "hidden": false }, | |
| { "type": "ci", "section": "Chores", "hidden": false }, | |
| { "type": "refactor", "section": "Chores", "hidden": false }, | |
| { "type": "test", "section": "Chores", "hidden": false } | |
| ] | |
| - uses: actions/checkout@v5 | |
| if: ${{ steps.release.outputs.release_created }} | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: lts/* | |
| registry-url: https://registry.npmjs.org | |
| if: ${{ steps.release.outputs.release_created }} | |
| - run: | | |
| npm install -g npm@latest # npm 11.5.1 or later is required so update to latest to be sure | |
| npm install --force | |
| npm run build | |
| npm publish --provenance | |
| if: ${{ steps.release.outputs.release_created }} |