Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #48

Merged
merged 9 commits into from
Dec 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions .github/workflows/release-main.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,29 @@
name: Publish NGX Multi Keywords Highlighter

on:
release:
types: [ published ]
push:
branches:
- main
- develop
- beta
- next
permissions:
contents: read

jobs:
build:
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
name: release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.JS
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
cache: 'npm'
Expand All @@ -29,7 +41,7 @@ jobs:
- name: Build
run: npm run mkh:build
- name: Semantic Release 📦
run: npx semantic-release --branches main --ci
run: npx semantic-release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# [1.2.0-develop.1](https://github.com/dylannnn/ngx-multi-keywords-highlighter/compare/1.1.0...1.2.0-develop.1) (2023-12-31)


### Features

* release pipeline adjustment ([#45](https://github.com/dylannnn/ngx-multi-keywords-highlighter/issues/45)) ([6be8cd5](https://github.com/dylannnn/ngx-multi-keywords-highlighter/commit/6be8cd51abcbf1642f96cee476fd3c85b5908e0f)), closes [#38](https://github.com/dylannnn/ngx-multi-keywords-highlighter/issues/38) [#39](https://github.com/dylannnn/ngx-multi-keywords-highlighter/issues/39) [#27](https://github.com/dylannnn/ngx-multi-keywords-highlighter/issues/27)
* semantic release config ([ddf83fd](https://github.com/dylannnn/ngx-multi-keywords-highlighter/commit/ddf83fd64da6df15b5d075c9e39a2d574e6648a8))
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"name": "mkh",
"version": "1.0.0-development",
"license": "MIT",
"homepage": "https://www.yunfei.li",
"author": "Yunfei Li <dylannnnlee@gmail.com> (https://yunfei.li)",
"homepage": "https://github.com/dylannnn/ngx-multi-keywords-highlighter#readme",
"repository": {
"type": "git",
"url": "https://github.com/dylannnn/ngx-multi-keywords-highlighter.git"
Expand Down
6 changes: 3 additions & 3 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ module.exports = {
branches: [
'main',
{ name: 'feature/**', prerelease: "${name.split('/').slice(0, 2).join('-').toLowerCase()}" },
{ name: 'develop', prerelease: 'dev' },
{ name: 'next', prerelease: 'rc', channel: "next" },
{ name: 'beta', prerelease: 'beta', channel: "beta" }
{ name: 'develop', prerelease: true, channel: "develop" },
{ name: 'next', prerelease: true, channel: "next" },
{ name: 'beta', prerelease: true, channel: "beta" }
],
tagFormat: '${version}',
plugins: [
Expand Down