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

feat(*): alpha branch #90

Closed
wants to merge 5 commits into from
Closed
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
2 changes: 2 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- main
- alpha
- beta

jobs:
run-tests:
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
pull_request:
branches:
- main
- alpha
- beta

# Allow workflow to be called by another workflow
workflow_call:
Expand Down Expand Up @@ -43,7 +45,8 @@ jobs:

- name: Publish package preview
id: package-preview
if: github.event_name == 'pull_request'
# Do not run for `alpha` or `beta` branches
if: ${{ github.event_name == 'pull_request' && github.ref != 'refs/heads/alpha' && github.ref != 'refs/heads/beta' }}
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN_PUBLIC_PUBLISH }}
run: |
Expand Down Expand Up @@ -83,7 +86,8 @@ jobs:
echo "EOF" >> $GITHUB_OUTPUT

- name: Provide preview link info
if: ${{ steps.package-preview.outputs.npm_instructions != '' }}
# Do not run for `alpha` or `beta` branches
if: ${{ steps.package-preview.outputs.npm_instructions != '' && github.ref != 'refs/heads/alpha' && github.ref != 'refs/heads/beta' }}
uses: marocchino/sticky-pull-request-comment@v2
with:
header: pr_preview_consumption
Expand Down
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
# [2.0.0-alpha.1](https://github.com/Kong/design-tokens/compare/v1.11.0-alpha.1...v2.0.0-alpha.1) (2023-09-07)


### Features

* alpha version ([564eb68](https://github.com/Kong/design-tokens/commit/564eb68439b2279a188475b721b6c46063290ad7))


### BREAKING CHANGES

* Alpha version

# [1.11.0-alpha.1](https://github.com/Kong/design-tokens/compare/v1.10.0...v1.11.0-alpha.1) (2023-09-07)


### Features

* alpha branch ([a389df4](https://github.com/Kong/design-tokens/commit/a389df4c61057a6598ebde698ea086958b11588f))

# [1.10.0](https://github.com/Kong/design-tokens/compare/v1.9.1...v1.10.0) (2023-09-07)


Expand Down
2 changes: 1 addition & 1 deletion TOKENS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
* Do not edit directly
* Generated on Thu, 07 Sep 2023 16:32:08 GMT
* Generated on Thu, 07 Sep 2023 18:43:02 GMT
*
* Kong Design Tokens
* GitHub: https://github.com/Kong/design-tokens
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kong/design-tokens",
"version": "1.10.0",
"version": "2.0.0-alpha.1",
"description": "Kong UI Design Tokens and style dictionary",
"scripts": {
"build": "yarn build:clean && style-dictionary build && yarn copy:tokens-doc && yarn copy:stylelint-plugin",
Expand Down
Loading