Skip to content

Commit 023e9cf

Browse files
authored
Merge pull request #579 from qoretechnologies/bugfix/remove-chromatic
Remove chromatic from release CI
2 parents 2eb441f + 1b37903 commit 023e9cf

2 files changed

Lines changed: 6 additions & 12 deletions

File tree

.github/workflows/beta_release.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
id: current_time
2323
with:
2424
format: YYYYMMDD-HH
25-
utcOffset: '+01:00'
25+
utcOffset: "+01:00"
2626
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2727
# Checkout the repo
2828
- uses: actions/checkout@v3
@@ -61,12 +61,6 @@ jobs:
6161
token: ${{ secrets.NPM_TOKEN }}
6262
tag: beta
6363
access: public
64-
- name: Publish to Chromatic
65-
id: chromatic_publish
66-
uses: chromaui/action@v1
67-
with:
68-
token: ${{ secrets.GITHUB_TOKEN }}
69-
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
7064
- name: Create a release
7165
id: release
7266
uses: actions/create-release@v1
@@ -83,18 +77,18 @@ jobs:
8377
env:
8478
DISCORD_WEBHOOK: ${{secrets.DISCORD_WEBHOOK}}
8579
DISCORD_EMBEDS: '[{"author": {"icon_url": "https://avatars.githubusercontent.com/${{ github.actor }}", "name": "${{ github.actor }}", "url": "https://github.com/${{github.actor}}"}, "url": "https://github.com/${{github.repository}}/commit/${{github.sha}}", "fields": [{ "name": "Commit Message", "value": "${{ steps.get_head_commit_message.outputs.HEAD_COMMIT_MESSAGE }}"},{"name": "Repository","value": "[${{github.event.repository.name}}](${{github.event.repository.clone_url}})","inline": true},{"name": "Branch","value": "[${{github.ref_name}}](https://github.com/${{github.repository}}/pull/${{github.ref_name}})","inline": true},{ "name": "Event", "value": "${{github.event_name}}", "inline": true },{"name": "Author","value": "[${{github.actor}}](https://github.com/${{github.actor}})","inline": true},{ "name": "Job", "value": "${{github.job}}", "inline": true },{ "name": "Version", "value": "v${{ steps.save_release_version.outputs.version }}", "inline": true},{"name": "","value": "🤖 [Github Action](https://github.com/${{ github.repository}}/actions/runs/${{ github.run_id}}) 📙 [Documentation](${{ steps.chromatic_publish.outputs.storybookUrl }}) 🎨 [Chromatic Tests](${{ steps.chromatic_publish.outputs.buildUrl }})"}],"color": 65280,"footer": { "text": "Published at ${{steps.current_time.outputs.readableTime}}" }}]'
86-
DISCORD_AVATAR: 'https://github.com/qoretechnologies/reqore/blob/ae8ce24b7f0984340bf4e6835025d203d1741b3a/public/q-symbol-small.png?raw=true'
80+
DISCORD_AVATAR: "https://github.com/qoretechnologies/reqore/blob/ae8ce24b7f0984340bf4e6835025d203d1741b3a/public/q-symbol-small.png?raw=true"
8781
uses: Ilshidur/action-discord@0.3.2
8882
with:
89-
args: ':white_check_mark: ReQore beta v${{ steps.save_release_version.outputs.version }} successfuly released & published.'
83+
args: ":white_check_mark: ReQore beta v${{ steps.save_release_version.outputs.version }} successfuly released & published."
9084
if: success()
9185
# Notify discord if failure
9286
- name: Discord notification
9387
env:
9488
DISCORD_WEBHOOK: ${{secrets.DISCORD_WEBHOOK}}
9589
DISCORD_EMBEDS: '[{"author": {"icon_url": "https://avatars.githubusercontent.com/${{ github.actor }}", "name": "${{ github.actor }}", "url": "https://github.com/${{github.actor}}"}, "url": "https://github.com/${{github.repository}}/commit/${{github.sha}}", "fields": [{ "name": "Commit Message", "value": "${{ steps.get_head_commit_message.outputs.HEAD_COMMIT_MESSAGE }}"},{"name": "Repository","value": "[${{github.event.repository.name}}](${{github.event.repository.clone_url}})","inline": true},{"name": "Branch","value": "[${{github.ref_name}}](https://github.com/${{github.repository}}/pull/${{github.ref_name}})","inline": true},{ "name": "Event", "value": "${{github.event_name}}", "inline": true },{"name": "Author","value": "[${{github.actor}}](https://github.com/${{github.actor}})","inline": true},{ "name": "Job", "value": "${{github.job}}", "inline": true },{ "name": "Version", "value": "v${{ steps.save_release_version.outputs.version }}", "inline": true},{"name": "","value": "🤖 [Github Action](https://github.com/${{ github.repository}}/actions/runs/${{ github.run_id}})"}],"color": 16711680,"footer": { "text": "Triggered at ${{steps.current_time.outputs.readableTime}}" }}]'
96-
DISCORD_AVATAR: 'https://github.com/qoretechnologies/reqore/blob/ae8ce24b7f0984340bf4e6835025d203d1741b3a/public/q-symbol-small.png?raw=true'
90+
DISCORD_AVATAR: "https://github.com/qoretechnologies/reqore/blob/ae8ce24b7f0984340bf4e6835025d203d1741b3a/public/q-symbol-small.png?raw=true"
9791
uses: Ilshidur/action-discord@0.3.2
9892
with:
99-
args: ':exclamation: ReQore beta v${{ steps.save_release_version.outputs.version }} release failed! Click the GitHub Action link below to find out why.'
93+
args: ":exclamation: ReQore beta v${{ steps.save_release_version.outputs.version }} release failed! Click the GitHub Action link below to find out why."
10094
if: failure()

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@qoretechnologies/reqore",
3-
"version": "0.70.3",
3+
"version": "0.70.4",
44
"description": "ReQore is a highly theme-able and modular UI library for React",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)