Skip to content

bump: 0.0.20

bump: 0.0.20 #19

Workflow file for this run

name: 🚀 Release
on:
push:
tags:
- '*'
permissions:
actions: write
contents: write
id-token: write
jobs:
publish:
name: Publish to NPM
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.12.1
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
changelog:
name: Changelog
needs: [publish]
runs-on: ubuntu-latest
steps:
- name: Build
id: github_release
uses: mikepenz/release-changelog-builder-action@v4
with:
commitMode: true
configurationJson: |
{
"template": "#{{CHANGELOG}}",
"pr_template": "- #{{TITLE}} #{{MERGE_SHA}}",
"categories": [
{
"title": "## What's Changed",
"labels": []
}
],
"ignore_labels": [
"bump"
],
"label_extractor": [
{
"pattern": "^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test|bump){1}(\\([\\w\\-\\.]+\\))?(!)?: ([\\w ])+([\\s\\S]*)",
"target": "$1"
}
]
}
- name: Create Release
uses: softprops/action-gh-release@v2
with:
body: ${{steps.github_release.outputs.changelog}}