feat: Tab -> add validity indicator (#123) #29
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: | |
push: | |
branches: | |
- main | |
concurrency: | |
group: release | |
jobs: | |
publish: | |
if: github.actor != 'weka-version-bumper[bot]' | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/create-github-app-token@v1 | |
id: app-token | |
with: | |
app-id: 919414 | |
private-key: ${{ secrets.WEKA_VERSION_BUMPER_PRIVATE_KEY }} | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ steps.app-token.outputs.token }} | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
cache: 'yarn' | |
registry-url: https://npm.pkg.github.com/ | |
scope: '@weka' | |
- run: yarn install | |
- run: yarn build | |
- run: | | |
git config --global user.name 'github-actions' | |
git config --global user.email 'github-actions@users.noreply.github.com' | |
- run: git add dist/ | |
- run: git status | |
- run: yarn version --minor --no-git-tag-version | |
name: Bump minor version | |
- run: echo "tag=$(jq .version package.json -r)" >> $GITHUB_OUTPUT | |
name: Print future release version | |
id: version_bump | |
- run: git add package.json | |
- run: git commit -m 'build ${{ steps.version_bump.outputs.tag }}' | |
- run: git tag ${{ steps.version_bump.outputs.tag }} | |
- run: git push origin main | |
- run: git push origin tag ${{ steps.version_bump.outputs.tag }} |