Skip to content

chore: bump package version to 1.1.2 in package.json and package-lock… #9

chore: bump package version to 1.1.2 in package.json and package-lock…

chore: bump package version to 1.1.2 in package.json and package-lock… #9

Workflow file for this run

name: 📦 Release
on:
push:
branches:
- main
jobs:
release:
name: Generate Changelog & Publish Release
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: 🛎️ Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 🧰 Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
- name: 📦 Install dependencies
run: npm install
- name: 🧩 Create version from Changesets
run: npx changeset version
- name: 📝 Generate Changelog
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "chore: update changelog and package versions" || echo "No changes to commit"
git push
- name: 🚀 Publish GitHub Release
uses: changesets/action@v1
with:
publish: npx changeset publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}