chore(header): update z-index on header bar (#26) #4
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
| name: Version Bump | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| version-bump: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # Required to get all tags | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - name: Configure Git | |
| run: | | |
| git config --local user.email "github-actions[bot]@users.noreply.github.com" | |
| git config --local user.name "github-actions[bot]" | |
| - name: Bump version and push tag | |
| id: bump_version | |
| uses: mathieudutour/github-tag-action@v6.1 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| default_bump: patch | |
| release_branches: main | |
| dry_run: false | |
| - name: Update package.json with new version | |
| run: | | |
| npm version ${{ steps.bump_version.outputs.new_tag }} --no-git-tag-version | |
| - name: Commit version bump | |
| run: | | |
| git add package.json | |
| git commit -m "chore: bump version to ${{ steps.bump_version.outputs.new_tag }}" | |
| git push | |
| - name: Create GitHub Release | |
| uses: ncipollo/release-action@v1 | |
| with: | |
| tag: ${{ steps.bump_version.outputs.new_tag }} | |
| name: Release ${{ steps.bump_version.outputs.new_tag }} | |
| body: ${{ steps.bump_version.outputs.changelog }} | |
| generateReleaseNotes: true |