Skip to content

Commit

Permalink
chore: Improve continuous delivery (#1165)
Browse files Browse the repository at this point in the history
  • Loading branch information
dougfabris committed Sep 14, 2023
1 parent d1a5fb1 commit c4219b9
Show file tree
Hide file tree
Showing 30 changed files with 196 additions and 22 deletions.
5 changes: 5 additions & 0 deletions .changeset/calm-suits-fail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/fuselage-hooks": minor
---

feat: create useElementIsVisible
12 changes: 9 additions & 3 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
{
"$schema": "https://unpkg.com/@changesets/config@2.3.1/schema.json",
"changelog": "@changesets/changelog-git",
"changelog": [
"@changesets/changelog-github",
{ "repo": "RocketChat/fuselage" }
],
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "develop",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
"ignore": [],
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
"onlyUpdatePeerDependentsWhenOutOfRange": true
}
}
5 changes: 5 additions & 0 deletions .changeset/dull-walls-bake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/fuselage": minor
---

fix(fuselage): Field deprecation message
5 changes: 5 additions & 0 deletions .changeset/early-spoons-return.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/fuselage": minor
---

chore(fuselage): Button size
5 changes: 5 additions & 0 deletions .changeset/eighty-fans-fold.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/fuselage": minor
---

fix(fuselage): OptionInput margins and alignment
5 changes: 5 additions & 0 deletions .changeset/funny-pets-grow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/fuselage": minor
---

fix(fuselage): AudioPlayer: Infinity duration audio files crashing
5 changes: 5 additions & 0 deletions .changeset/honest-eels-complain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/fuselage": minor
---

fix(fuselage): css theme
5 changes: 5 additions & 0 deletions .changeset/kind-lions-love.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/fuselage": minor
---

fix(fuselage): MessageReactionAction icon size
5 changes: 5 additions & 0 deletions .changeset/little-stingrays-jump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/fuselage": minor
---

fix(fuselage): prevent button-disabled click animation
5 changes: 5 additions & 0 deletions .changeset/moody-dingos-rest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/fuselage": minor
---

fix(fuselage): IconButton with badge click-animation
5 changes: 5 additions & 0 deletions .changeset/neat-fishes-confess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/fuselage": minor
---

chore(fuselage): change FieldLabel typography
5 changes: 5 additions & 0 deletions .changeset/nice-cows-relax.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/fuselage": minor
---

fix(fuselage): Remove unnecessary aria-label fallback in `IconButton
5 changes: 5 additions & 0 deletions .changeset/odd-hornets-sing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/ui-kit": minor
---

fix(ui-kit): Remove icons package dependency in ui-kit package
5 changes: 5 additions & 0 deletions .changeset/old-terms-reflect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/onboarding-ui": minor
---

fix(onboarding-ui): Development warnings
5 changes: 5 additions & 0 deletions .changeset/plenty-donuts-poke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/fuselage": minor
---

chore(fuselage): ToggleSwitch best practices adjustments
5 changes: 5 additions & 0 deletions .changeset/real-pots-heal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/fuselage": minor
---

chore(fuselage): Modal a11y improvements
5 changes: 5 additions & 0 deletions .changeset/shy-cows-sort.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/fuselage": minor
---

chore(fuselage): Table background-color
5 changes: 5 additions & 0 deletions .changeset/silver-schools-allow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/fuselage": minor
---

chore(fuselage): color a11y report changes
5 changes: 5 additions & 0 deletions .changeset/sour-bears-rest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/fuselage-hooks": minor
---

fix(fuselage-hooks): usePosition fallback positioning
5 changes: 5 additions & 0 deletions .changeset/sour-dolphins-breathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/fuselage": minor
---

chore(fuselage): button click animation
5 changes: 5 additions & 0 deletions .changeset/stale-hairs-mate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/fuselage": minor
---

chore(fuselage): Checkbox best practices adjustments
5 changes: 5 additions & 0 deletions .changeset/stupid-emus-hunt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/fuselage": minor
---

chore(fuselage): Fix Accordion a11y
5 changes: 5 additions & 0 deletions .changeset/sweet-bulldogs-press.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/ui-kit": minor
---

refactor(ui-kit): Review some types
5 changes: 5 additions & 0 deletions .changeset/tall-eels-cover.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/fuselage": minor
---

chore(fuselage): Avatar a11y improvements
5 changes: 5 additions & 0 deletions .changeset/two-lies-sin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/fuselage": minor
---

chore(fuselage): Prop to keep MessageToolbox visible.
5 changes: 5 additions & 0 deletions .changeset/wicked-tools-relax.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/fuselage": minor
---

chore(fuselage): Field & Label best practices adjustments
23 changes: 7 additions & 16 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ name: Continuous Delivery
on:
push:
branches:
- master
- develop
- main

jobs:
build-and-test:
Expand Down Expand Up @@ -46,8 +45,8 @@ jobs:
packages/fuselage/storybook-static
packages/onboarding-ui/storybook-static
packages/layout/storybook-static
- if: github.ref == 'refs/heads/master'
uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v2
with:
name: docs
path: |
Expand Down Expand Up @@ -88,21 +87,13 @@ jobs:
path: packages
- run: yarn install
if: steps.yarn-cache.outputs.cache-hit != 'true'
- run: yarn resolve-workspace-deps
if: github.ref == 'refs/heads/master'

- uses: changesets/action@v1
with:
publish: yarn release
if: github.ref == 'refs/heads/master'
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: yarn bump-next
if: github.ref == 'refs/heads/develop'
- run: yarn release-next
if: github.ref == 'refs/heads/develop'
env:
YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

publish-to-gh-pages:
name: Publish to GitHub Pages
Expand All @@ -120,8 +111,8 @@ jobs:
with:
name: storybooks
path: packages
- if: github.ref == 'refs/heads/master'
uses: actions/download-artifact@v2

- uses: actions/download-artifact@v2
with:
name: docs
path: .
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: "CodeQL"

on:
push:
branches: [ "develop", "master" ]
branches: "main"
pull_request:
branches: [ "develop" ]
branches: "main"
schedule:
- cron: "54 21 * * 4"

Expand All @@ -20,7 +20,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ javascript ]
language: [javascript]

steps:
- name: Checkout
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"tools/*"
],
"devDependencies": {
"@changesets/changelog-github": "~0.4.8",
"@changesets/cli": "~2.26.2",
"bump": "workspace:~",
"husky": "~7.0.4",
Expand All @@ -32,6 +33,7 @@
"create-package": "hygen create-package",
"bump-next": "yarn workspaces foreach --no-private -v run bump-next",
"release": "yarn changesets publish",
"changeset": "changeset",
"release-next": "yarn workspaces foreach --no-private -v npm publish --tag next --tolerate-republish"
},
"devEngines": {
Expand Down
50 changes: 50 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1704,6 +1704,17 @@ __metadata:
languageName: node
linkType: hard

"@changesets/changelog-github@npm:~0.4.8":
version: 0.4.8
resolution: "@changesets/changelog-github@npm:0.4.8"
dependencies:
"@changesets/get-github-info": ^0.5.2
"@changesets/types": ^5.2.1
dotenv: ^8.1.0
checksum: 8a357cc08757e0eeca267ee05141f68bef936582abef8b78a5d30d99f5a86e41b7d3debba70992b73b2f57b0fc6201ec1cc3c65116930167ee3197b427b865c5
languageName: node
linkType: hard

"@changesets/cli@npm:~2.26.2":
version: 2.26.2
resolution: "@changesets/cli@npm:2.26.2"
Expand Down Expand Up @@ -1784,6 +1795,16 @@ __metadata:
languageName: node
linkType: hard

"@changesets/get-github-info@npm:^0.5.2":
version: 0.5.2
resolution: "@changesets/get-github-info@npm:0.5.2"
dependencies:
dataloader: ^1.4.0
node-fetch: ^2.5.0
checksum: 067e07eeaecdbedbd1c715513c4aa6206a941bd1d3af292d067792808c6fa6644caad2b35fba614a44892559c031c234df8028f8d2abd4cb2682d48080ef5df3
languageName: node
linkType: hard

"@changesets/get-release-plan@npm:^3.0.17":
version: 3.0.17
resolution: "@changesets/get-release-plan@npm:3.0.17"
Expand Down Expand Up @@ -6423,6 +6444,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "@rocket.chat/fuselage-root@workspace:."
dependencies:
"@changesets/changelog-github": ~0.4.8
"@changesets/cli": ~2.26.2
bump: "workspace:~"
husky: ~7.0.4
Expand Down Expand Up @@ -13800,6 +13822,13 @@ __metadata:
languageName: node
linkType: hard

"dataloader@npm:^1.4.0":
version: 1.4.0
resolution: "dataloader@npm:1.4.0"
checksum: e2c93d43afde68980efc0cd9ff48e9851116e27a9687f863e02b56d46f7e7868cc762cd6dcbaf4197e1ca850a03651510c165c2ae24b8e9843fd894002ad0e20
languageName: node
linkType: hard

"dateformat@npm:^3.0.0":
version: 3.0.3
resolution: "dateformat@npm:3.0.3"
Expand Down Expand Up @@ -14401,6 +14430,13 @@ __metadata:
languageName: node
linkType: hard

"dotenv@npm:^8.1.0":
version: 8.6.0
resolution: "dotenv@npm:8.6.0"
checksum: 38e902c80b0666ab59e9310a3d24ed237029a7ce34d976796349765ac96b8d769f6df19090f1f471b77a25ca391971efde8a1ea63bb83111bd8bec8e5cc9b2cd
languageName: node
linkType: hard

"dotgitignore@npm:^2.1.0":
version: 2.1.0
resolution: "dotgitignore@npm:2.1.0"
Expand Down Expand Up @@ -21632,6 +21668,20 @@ fsevents@^1.2.7:
languageName: node
linkType: hard

"node-fetch@npm:^2.5.0":
version: 2.7.0
resolution: "node-fetch@npm:2.7.0"
dependencies:
whatwg-url: ^5.0.0
peerDependencies:
encoding: ^0.1.0
peerDependenciesMeta:
encoding:
optional: true
checksum: d76d2f5edb451a3f05b15115ec89fc6be39de37c6089f1b6368df03b91e1633fd379a7e01b7ab05089a25034b2023d959b47e59759cb38d88341b2459e89d6e5
languageName: node
linkType: hard

"node-fetch@npm:^2.6.1, node-fetch@npm:^2.6.7":
version: 2.6.7
resolution: "node-fetch@npm:2.6.7"
Expand Down

0 comments on commit c4219b9

Please sign in to comment.