Skip to content

chore: update version to 1.0.8 #8

chore: update version to 1.0.8

chore: update version to 1.0.8 #8

name: Version Bump
on:
push:
branches:
- main
jobs:
version:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Configure Git for tag creation
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
- name: Create Release Pull Request or Publish
id: changesets
uses: changesets/action@v1
with:
# changeset publish automatically creates git tags in format: package-name@version
# For single package repo, it creates: v1.0.0 format
publish: |
npm run build
npm run release
# Push tags created by changeset publish
git push --follow-tags
version: npm run version
commit: "chore: version packages"
title: "chore: version packages"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.npm_token }}
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}