chore(deps): update dependency eslint-plugin-jsx-a11y to v6.9.0 (#659) #584
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: release | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: write | |
pull-requests: write | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
release-please: | |
if: github.actor != 'nektos/act' | |
runs-on: ubuntu-latest | |
outputs: | |
pr: ${{ steps.release-please.outputs.pr }} | |
releases_created: ${{ steps.release-please.outputs.releases_created }} | |
steps: | |
- uses: google-github-actions/release-please-action@v4 | |
id: release-please | |
with: | |
config-file: .github/.release-please-config.json | |
manifest-file: .github/.release-please-manifest.json | |
- name: Echo release-please outputs | |
if: steps.release-please.outputs | |
run: echo '${{ toJson(steps.release-please) }}' | |
- name: Prepare update release notes | |
if: steps.release-please.outputs.release_created | |
uses: actions/checkout@v4 | |
- name: Update release notes | |
if: steps.release-please.outputs.release_created | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
RELEASE_DATA: ${{ toJson(steps.release-please.outputs) }} | |
run: ./.github/scripts/update_release_notes.sh | |
shell: bash | |
format: | |
needs: release-please | |
if: needs.release-please.outputs.pr | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout release-please Pull Request | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ fromJson(needs.release-please.outputs.pr).headBranchName }} | |
- name: Setup Node | |
uses: ./.github/actions/setup-node | |
- name: Configure Git user | |
run: | | |
git config --global user.name 'github-actions[bot]' | |
git config --global user.email 'github-actions[bot]@users.noreply.github.com' | |
git --no-pager show --name-only | |
- name: Format CHANGELOG.md | |
run: | | |
npx markdownlint-cli2 --fix '**/CHANGELOG.md' | |
npx prettier --write '**/CHANGELOG.md' | |
- name: Commit and push | |
run: | | |
git add --all | |
git commit -m 'chore: format CHANGELOG.md' --no-verify | |
git push | |
publish: | |
needs: release-please | |
if: needs.release-please.outputs.releases_created | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: ./.github/actions/setup-node | |
- name: Publish | |
run: pnpm --recursive publish | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |