Skip to content

Commit

Permalink
Merge pull request #177 from quid/chore/QUID-28018-migrate-ci-cd-pipe…
Browse files Browse the repository at this point in the history
…lines-to-github-actions-and-argo-cd

chore: migrate ci/cd pipelines to github actions and argo cd
  • Loading branch information
prasannachiang authored Jan 3, 2024
2 parents 52a5ac5 + 4085eb7 commit bdd4fcb
Show file tree
Hide file tree
Showing 38 changed files with 262 additions and 43 deletions.
75 changes: 75 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: ci

on:
push:
branches:
- '**'
tags:
- '**'
workflow_dispatch:

jobs:
cancel:
runs-on: public-runner
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
all_but_latest: true

test-and-deploy:
runs-on: public-runner
steps:
- name: Checkout Master
uses: actions/checkout@v4
if: ${{ github.ref == 'refs/heads/master' }}
with:
fetch-depth: 50

- name: Checkout Non-Master
uses: actions/checkout@v4
if: ${{ github.ref != 'refs/heads/master' }}

- name: Install Yarn
run: |
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.17.3
echo "$HOME/.yarn/bin" >> $GITHUB_PATH
- uses: actions/setup-node@v4
with:
node-version: 11.10.1

- name: Install Dependencies
run: |
yarn --frozen-lockfile
npm install -g [email protected]
npm install -g react-app-rewired@^2.1.1
npm install -g react-scripts@^3.0.1
- name: Type Checks and Unit Tests
run: |
flow check
react-app-rewired test --coverage --colors
- name: Build
if: ${{ github.ref == 'refs/heads/master' }}
run: yarn build

- name: Publish gh-pages
if: ${{ github.ref == 'refs/heads/master' }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./styleguide
keep_files: true
user_name: 'quid-bot'
user_email: '[email protected]'
cname: ui.quid.com

- name: Publish to npm
if: ${{ github.ref == 'refs/heads/master' }}
run: |
export GITHUB_NAME=quid-bot
export [email protected]
export AUTOMATED_WRITE_AUTH=${{ secrets.AUTOMATED_WRITE_AUTH }}
scripts/deploy.sh
File renamed without changes.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 4.11.6 (2024-01-03)

**Note:** Version bump only for package quid-ui





## [4.11.5](https://github.com/quid/refraction/compare/v4.11.4...v4.11.5) (2023-09-21)


Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"lerna": "3.3.2",
"version": "4.11.5",
"version": "4.11.6",
"npmClient": "yarn",
"useWorkspaces": true,
"command": {
Expand Down
8 changes: 8 additions & 0 deletions packages/merge-refs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 4.11.6 (2024-01-03)

**Note:** Version bump only for package @quid/merge-refs





# [4.0.0](https://github.com/quid/refraction/tree/master/packages/merge-refs/compare/v3.3.5...v4.0.0) (2019-10-01)

**Note:** Version bump only for package @quid/merge-refs
Expand Down
2 changes: 1 addition & 1 deletion packages/merge-refs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@quid/merge-refs",
"version": "4.0.0",
"version": "4.11.6",
"description": "Utility to merge different React “refs” into a single call.",
"main": "dist/index.js",
"main:umd": "dist/index.umd.js",
Expand Down
8 changes: 8 additions & 0 deletions packages/react-core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 4.11.6 (2024-01-03)

**Note:** Version bump only for package @quid/react-core





## [4.11.4](https://github.com/quid/refraction/tree/master/packages/react-core/compare/v4.11.1...v4.11.4) (2023-02-08)

**Note:** Version bump only for package @quid/react-core
Expand Down
4 changes: 2 additions & 2 deletions packages/react-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@quid/react-core",
"version": "4.11.4",
"version": "4.11.6",
"description": "Core React Quid components",
"main": "dist/index.js",
"main:umd": "dist/index.umd.js",
Expand Down Expand Up @@ -28,7 +28,7 @@
"@emotion/css": "^10.0.4",
"@emotion/styled": "^10.0.4",
"@emotion/styled-base": "^10.0.4",
"@quid/theme": "^4.11.4",
"@quid/theme": "^4.11.6",
"color": "^3.1.0"
},
"peerDependencies": {
Expand Down
8 changes: 8 additions & 0 deletions packages/react-date-picker/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 4.11.6 (2024-01-03)

**Note:** Version bump only for package @quid/react-date-picker





## [4.11.4](https://github.com/quid/refraction/tree/master/packages/react-date-picker/compare/v4.11.1...v4.11.4) (2023-02-08)

**Note:** Version bump only for package @quid/react-date-picker
Expand Down
6 changes: 3 additions & 3 deletions packages/react-date-picker/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@quid/react-date-picker",
"version": "4.11.4",
"version": "4.11.6",
"description": "Lightweight date picker component",
"main": "dist/index.js",
"main:umd": "dist/index.umd.js",
Expand All @@ -26,8 +26,8 @@
"@emotion/css": "^10.0.6",
"@emotion/styled": "^10.0.6",
"@emotion/styled-base": "^10.0.4",
"@quid/react-core": "^4.11.4",
"@quid/theme": "^4.11.4",
"@quid/react-core": "^4.11.6",
"@quid/theme": "^4.11.6",
"date-fns": "^1.30.1",
"emotion": "^10.0.6"
},
Expand Down
8 changes: 8 additions & 0 deletions packages/react-dropdown/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 4.11.6 (2024-01-03)

**Note:** Version bump only for package @quid/react-dropdown





## [4.11.5](https://github.com/quid/ui-framework/compare/v4.11.4...v4.11.5) (2023-09-21)


Expand Down
8 changes: 4 additions & 4 deletions packages/react-dropdown/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@quid/react-dropdown",
"version": "4.11.5",
"version": "4.11.6",
"description": "React dropdown component with ARIA accessibility and advanced functionalities",
"main": "dist/index.js",
"main:umd": "dist/index.umd.js",
Expand Down Expand Up @@ -31,9 +31,9 @@
"@emotion/css": "^10.0.6",
"@emotion/styled": "^10.0.6",
"@emotion/styled-base": "^10.0.4",
"@quid/react-core": "^4.11.4",
"@quid/react-dropdown": "^4.11.5",
"@quid/theme": "^4.11.4",
"@quid/react-core": "^4.11.6",
"@quid/react-dropdown": "^4.11.6",
"@quid/theme": "^4.11.6",
"color": "^3.1.0",
"downshift": "^3.2.0",
"popper.js": "^1.14.7",
Expand Down
8 changes: 8 additions & 0 deletions packages/react-ellipsis/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 4.11.6 (2024-01-03)

**Note:** Version bump only for package @quid/react-ellipsis





# [4.0.0](https://github.com/quid/refraction/tree/master/packages/react-ellipsis/compare/v3.3.5...v4.0.0) (2019-10-01)

**Note:** Version bump only for package @quid/react-ellipsis
Expand Down
2 changes: 1 addition & 1 deletion packages/react-ellipsis/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@quid/react-ellipsis",
"version": "4.0.0",
"version": "4.11.6",
"description": "Trim multi-line text and add ellipsis to it",
"main": "dist/index.js",
"main:umd": "dist/index.umd.js",
Expand Down
8 changes: 8 additions & 0 deletions packages/react-expandable-table/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 4.11.6 (2024-01-03)

**Note:** Version bump only for package @quid/react-expandable-table





## [4.11.4](https://github.com/quid/refraction/tree/master/packages/react-expandable-table/compare/v4.11.1...v4.11.4) (2023-02-08)

**Note:** Version bump only for package @quid/react-expandable-table
Expand Down
10 changes: 5 additions & 5 deletions packages/react-expandable-table/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@quid/react-expandable-table",
"version": "4.11.4",
"version": "4.11.6",
"description": "Simple table with expandable row content and column sorting capabilities.",
"main": "dist/index.js",
"main:umd": "dist/index.umd.js",
Expand Down Expand Up @@ -31,10 +31,10 @@
"@emotion/is-prop-valid": "^0.8.2",
"@emotion/styled": "^10.0.15",
"@emotion/styled-base": "^10.0.15",
"@quid/react-core": "^4.11.4",
"@quid/react-tooltip": "^4.11.4",
"@quid/react-use-controlled-state": "^4.0.0",
"@quid/theme": "^4.11.4",
"@quid/react-core": "^4.11.6",
"@quid/react-tooltip": "^4.11.6",
"@quid/react-use-controlled-state": "^4.11.6",
"@quid/theme": "^4.11.6",
"react-virtuoso": "^0.10.2"
}
}
8 changes: 8 additions & 0 deletions packages/react-forms/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 4.11.6 (2024-01-03)

**Note:** Version bump only for package @quid/react-forms





## [4.11.4](https://github.com/quid/refraction/tree/master/packages/react-forms/compare/v4.11.1...v4.11.4) (2023-02-08)


Expand Down
16 changes: 8 additions & 8 deletions packages/react-forms/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@quid/react-forms",
"version": "4.11.4",
"version": "4.11.6",
"description": "Collection of form-related React components, such as buttons, inputs, etc...",
"main": "dist/index.js",
"main:umd": "dist/index.umd.js",
Expand All @@ -23,13 +23,13 @@
"@emotion/css": "^10.0.4",
"@emotion/styled": "^10.0.2",
"@emotion/styled-base": "^10.0.4",
"@quid/merge-refs": "^4.0.0",
"@quid/react-core": "^4.11.4",
"@quid/react-date-picker": "^4.11.4",
"@quid/react-invalid-handler": "^4.0.0",
"@quid/react-mouse-outside": "^4.0.0",
"@quid/react-use-controlled-state": "^4.0.0",
"@quid/theme": "^4.11.4",
"@quid/merge-refs": "^4.11.6",
"@quid/react-core": "^4.11.6",
"@quid/react-date-picker": "^4.11.6",
"@quid/react-invalid-handler": "^4.11.6",
"@quid/react-mouse-outside": "^4.11.6",
"@quid/react-use-controlled-state": "^4.11.6",
"@quid/theme": "^4.11.6",
"color": "^3.1.0",
"date-fns": "^1.30.1",
"emotion": "^10.0.5",
Expand Down
8 changes: 8 additions & 0 deletions packages/react-invalid-handler/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 4.11.6 (2024-01-03)

**Note:** Version bump only for package @quid/react-invalid-handler





# [4.0.0](https://github.com/quid/refraction/tree/master/packages/react-invalid-handler/compare/v3.3.5...v4.0.0) (2019-10-01)

**Note:** Version bump only for package @quid/react-invalid-handler
Expand Down
2 changes: 1 addition & 1 deletion packages/react-invalid-handler/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@quid/react-invalid-handler",
"version": "4.0.0",
"version": "4.11.6",
"description": "render-prop which provides an easy interface to interact with the HTML form validation API",
"main": "dist/index.js",
"main:umd": "dist/index.umd.js",
Expand Down
8 changes: 8 additions & 0 deletions packages/react-layouts/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 4.11.6 (2024-01-03)

**Note:** Version bump only for package @quid/react-layouts





## [4.11.4](https://github.com/quid/refraction/tree/master/packages/react-layouts/compare/v4.11.1...v4.11.4) (2023-02-08)


Expand Down
8 changes: 4 additions & 4 deletions packages/react-layouts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@quid/react-layouts",
"version": "4.11.4",
"version": "4.11.6",
"description": "Collection of layout related React components, such as Breadcrumb, Navbar, Tabs, etc...",
"main": "dist/index.js",
"main:umd": "dist/index.umd.js",
Expand Down Expand Up @@ -32,9 +32,9 @@
"@emotion/core": "^10.0.10",
"@emotion/css": "^10.0.4",
"@emotion/styled": "^10.0.7",
"@quid/react-core": "^4.11.4",
"@quid/react-tabs-provider": "^4.0.0",
"@quid/theme": "^4.11.4",
"@quid/react-core": "^4.11.6",
"@quid/react-tabs-provider": "^4.11.6",
"@quid/theme": "^4.11.6",
"color": "^3.1.0",
"react-modal": "^3.8.1"
}
Expand Down
Loading

0 comments on commit bdd4fcb

Please sign in to comment.