-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update feature branch release pipeline (#32)
* fix: clear un-used imports * fix: update github actions yml * fix: update github actions yml
- Loading branch information
Showing
34 changed files
with
2,814 additions
and
3,464 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created | ||
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages | ||
|
||
name: BETA - Publish Library | ||
|
||
on: | ||
push: | ||
branches: [ beta ] | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Setup Node.JS | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
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: Lint | ||
run: npm run mkh:lint | ||
- name: Test | ||
run: npm run mkh:test | ||
- name: Build | ||
run: npm run mkh:build | ||
- name: Semantic Release | ||
run: npx semantic-release --ci | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created | ||
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages | ||
|
||
name: FEATURE - Lint, Test, Build | ||
|
||
on: | ||
push: | ||
branches: [ 'feature/**' ] | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Setup Node.JS | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
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: Lint | ||
run: npm run mkh:lint | ||
- name: Test | ||
run: npm run mkh:test | ||
- name: Versioning | ||
run: npx standard-version --prerelease ${{ github.ref_name }} --dry-run | ||
- name: Build | ||
run: npm run mkh:build | ||
- name: Publish | ||
run: echo "Publishing..." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
default: true | ||
|
||
MD013: false | ||
MD024: | ||
allow_different_nesting: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
import { StorybookConfig } from '@storybook/core-webpack'; | ||
|
||
export const rootMain: StorybookConfig = { | ||
stories: [], | ||
addons: ['@storybook/addon-links', '@storybook/addon-essentials', '@storybook/addon-interactions', '@storybook/addon-a11y'] | ||
}; | ||
|
||
export const framework = { | ||
name: '@storybook/angular', | ||
options: {} | ||
}; | ||
|
||
export const docs = { | ||
autodocs: true | ||
}; | ||
export const addons = ['@storybook/addon-mdx-gfm']; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1 @@ | ||
# 1.0.0 (2023-07-16) | ||
|
||
|
||
### Features | ||
|
||
* migration to ng16, storybook v7 ([#17](https://github.com/dylannnn/ngx-multi-keywords-highlighter/issues/17)) ([2b95a2a](https://github.com/dylannnn/ngx-multi-keywords-highlighter/commit/2b95a2a10464c82ed82c119ca518dc652d99cc4e)) | ||
* migration to ng16, storybook v7 ([#18](https://github.com/dylannnn/ngx-multi-keywords-highlighter/issues/18)) ([01e17d2](https://github.com/dylannnn/ngx-multi-keywords-highlighter/commit/01e17d25a8b0c66135f292dc3bc319fa525a16ab)) | ||
|
||
# 1.0.0 (2023-07-16) | ||
|
||
|
||
### Features | ||
|
||
* migration to ng16, storybook v7 ([#17](https://github.com/dylannnn/ngx-multi-keywords-highlighter/issues/17)) ([2b95a2a](https://github.com/dylannnn/ngx-multi-keywords-highlighter/commit/2b95a2a10464c82ed82c119ca518dc652d99cc4e)) | ||
* migration to ng16, storybook v7 ([#18](https://github.com/dylannnn/ngx-multi-keywords-highlighter/issues/18)) ([01e17d2](https://github.com/dylannnn/ngx-multi-keywords-highlighter/commit/01e17d25a8b0c66135f292dc3bc319fa525a16ab)) | ||
|
||
# 1.0.0 (2023-07-16) | ||
|
||
|
||
### Features | ||
|
||
* migration to ng16, storybook v7 ([#17](https://github.com/dylannnn/ngx-multi-keywords-highlighter/issues/17)) ([2b95a2a](https://github.com/dylannnn/ngx-multi-keywords-highlighter/commit/2b95a2a10464c82ed82c119ca518dc652d99cc4e)) | ||
* migration to ng16, storybook v7 ([#18](https://github.com/dylannnn/ngx-multi-keywords-highlighter/issues/18)) ([01e17d2](https://github.com/dylannnn/ngx-multi-keywords-highlighter/commit/01e17d25a8b0c66135f292dc3bc319fa525a16ab)) | ||
|
||
# 1.0.0 (2023-03-07) | ||
|
||
### Bug Fixes | ||
|
||
* github actions release config ([7284a62](https://github.com/dylannnn/ngx-multi-keywords-highlighter/commit/7284a629231ab67e786822e5e5089021cc7c8a9b)) | ||
* update package-lock.json file ([dc5f9f4](https://github.com/dylannnn/ngx-multi-keywords-highlighter/commit/dc5f9f4f5f31b0c24bf0b3cd6a8f01f383c41e38)) | ||
* update release config ([2e91cf3](https://github.com/dylannnn/ngx-multi-keywords-highlighter/commit/2e91cf3ed37d357c724a0dc46951424c592782e1)) | ||
# Release Notes Of NGX Multi Keywords Highlighter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
import { defineConfig } from 'cypress'; | ||
import { nxE2EStorybookPreset } from '@nx/storybook/presets/cypress'; | ||
import { defineConfig } from "cypress"; | ||
import { nxE2EStorybookPreset } from "@nx/storybook/presets/cypress"; | ||
|
||
export default defineConfig({ | ||
e2e: nxE2EStorybookPreset(__dirname), | ||
projectId: "2dbycs", | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.