Skip to content

Commit

Permalink
feat: semantic release config adjustment (MKH-28) (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
dylannnn authored Dec 31, 2023
1 parent 7fd4781 commit 3ee5df1
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 133 deletions.
2 changes: 1 addition & 1 deletion .compodocrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: NgxMultiKeywordsHighlighter Documentation
# Configurations: https://compodoc.app/guides/options.html
tsconfig: tsconfig.doc.json
theme: material
version: 1.0.0
version: 1.2.0
# language: en-US
customFavicon: tools/assets/favicon.ico
customLogo: tools/assets/logo-light.svg
Expand Down
42 changes: 0 additions & 42 deletions .github/workflows/release-develop.yml

This file was deleted.

42 changes: 0 additions & 42 deletions .github/workflows/release-feature.yml

This file was deleted.

12 changes: 10 additions & 2 deletions .github/workflows/release-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,20 @@ jobs:
node-version: 18
cache: 'npm'
registry-url: 'https://registry.npmjs.org'
- name: Cache NPM packages
id: cache-npm-packages
uses: actions/cache@v3
env:
cache-name: cache-npm-packages
with:
path: ./node_modules
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('package-lock.json') }}
- if: ${{ steps.cache-npm-packages.outputs.cache-hit != 'true' }}
run: npm ci --ignore-scripts
- name: Config Git User
run: |
git config --global user.email "${{ vars.RELEASE_USER_EMAIL }}"
git config --global user.name "${{ vars.RELEASE_USER_NAME }}"
- name: Clean Install
run: npm ci
- name: Lint
run: npm run mkh:lint
- name: Test
Expand Down
42 changes: 0 additions & 42 deletions .github/workflows/release-next.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = '1.0.0';
export const version = '1.2.0';
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mkh",
"version": "1.0.0-development",
"version": "1.2.0-development",
"license": "MIT",
"author": "Yunfei Li <dylannnnlee@gmail.com> (https://yunfei.li)",
"homepage": "https://github.com/dylannnn/ngx-multi-keywords-highlighter#readme",
Expand Down

0 comments on commit 3ee5df1

Please sign in to comment.