From e7f2ed1b29312bb4ae012c30354068d746e439ad Mon Sep 17 00:00:00 2001 From: parthlambdatest Date: Thu, 20 Jun 2024 16:40:59 +0530 Subject: [PATCH 01/11] github check 4 --- src/stories/Header.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stories/Header.jsx b/src/stories/Header.jsx index 66eb752b..52576d5b 100644 --- a/src/stories/Header.jsx +++ b/src/stories/Header.jsx @@ -24,7 +24,7 @@ export const Header = ({ user, onLogin, onLogout, onCreateAccount }) => ( /> -

Changes for Github PR

+

Changes for Github PR 5

{user ? ( From 06e138bd615905efa48d9d36198b1fe5692fabe3 Mon Sep 17 00:00:00 2001 From: parthlambdatest Date: Thu, 20 Jun 2024 16:53:22 +0530 Subject: [PATCH 02/11] github check 4 --- src/stories/Header.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stories/Header.jsx b/src/stories/Header.jsx index 52576d5b..a08566fa 100644 --- a/src/stories/Header.jsx +++ b/src/stories/Header.jsx @@ -24,7 +24,7 @@ export const Header = ({ user, onLogin, onLogout, onCreateAccount }) => ( /> -

Changes for Github PR 5

+

Changes for Github PR 6

{user ? ( From 623da71f8a07ff97f9feb4dcaa4e5fe90e460ad3 Mon Sep 17 00:00:00 2001 From: parthkirsan Date: Mon, 23 Jun 2025 18:58:40 +0530 Subject: [PATCH 03/11] update json file --- .smartui.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .smartui.json diff --git a/.smartui.json b/.smartui.json new file mode 100644 index 00000000..742f2cb6 --- /dev/null +++ b/.smartui.json @@ -0,0 +1,16 @@ +{ + "storybook": { + "browsers": [ + "firefox" + ], + "viewports": [ + [ + 480 + ], + [ + 1440 + ] + ], + "waitForTimeout": 0 + } +} From 815d4b0aac935a435f7ebb21612ce2f57dca0c06 Mon Sep 17 00:00:00 2001 From: parthkirsan Date: Mon, 23 Jun 2025 19:06:06 +0530 Subject: [PATCH 04/11] update json file --- .smartui.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.smartui.json b/.smartui.json index 742f2cb6..ce20959a 100644 --- a/.smartui.json +++ b/.smartui.json @@ -5,7 +5,7 @@ ], "viewports": [ [ - 480 + 580 ], [ 1440 From 35ee79688df278bb2d09a0af811b871b61534c7e Mon Sep 17 00:00:00 2001 From: parthkirsan Date: Mon, 23 Jun 2025 19:10:24 +0530 Subject: [PATCH 05/11] remove json file --- .smartui.json | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 .smartui.json diff --git a/.smartui.json b/.smartui.json deleted file mode 100644 index ce20959a..00000000 --- a/.smartui.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "storybook": { - "browsers": [ - "firefox" - ], - "viewports": [ - [ - 580 - ], - [ - 1440 - ] - ], - "waitForTimeout": 0 - } -} From 6484c6df7269dc22e84c0733bca826c220a5813c Mon Sep 17 00:00:00 2001 From: parthkirsan Date: Mon, 23 Jun 2025 19:24:01 +0530 Subject: [PATCH 06/11] udapte ci --- .github/workflows/ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 91a77268..49f39849 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,7 @@ on: - master env: - PROJECT_TOKEN: ${{ secrets.PROJECT_TOKEN }} + PROJECT_TOKEN: 1868537#0465f107-cb19-470b-80b3-ccdf3fe9a263#cypress jobs: smartui-gihub-action: @@ -17,6 +17,7 @@ jobs: - name: Find Last CommitId run: | API_HOST=https://api.github.com + # Check out the PR branch git checkout $GITHUB_HEAD_REF # Get the commit ID of the last commit @@ -36,6 +37,6 @@ jobs: - name: Execute storybook build run: | - smartui --version + smartui --version smartui config create .smartui.json - smartui storybook ./storybook-static --config .smartui.json + smartui storybook ./18c18586-e375-4f83-b871-4bfec453c5ef --config .smartui.json From 94f7b5c12b942a89d41d4166cec04409a4459e11 Mon Sep 17 00:00:00 2001 From: parthkirsan Date: Wed, 25 Jun 2025 19:01:37 +0530 Subject: [PATCH 07/11] fix ci --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 49f39849..1a799b4d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: - name: Install Dependencies run: | npm install - npm install @lambdatest/smartui-storybook -g + npm install @lambdatest/smartui-storybook@1.1.18 - name: Create storybook static build run: npm run build-storybook From c02a390bbd76f7075551baba71bc2ac434790e9d Mon Sep 17 00:00:00 2001 From: parthkirsan Date: Wed, 25 Jun 2025 19:04:40 +0530 Subject: [PATCH 08/11] fix ci-2 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1a799b4d..25fc926e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: - name: Install Dependencies run: | npm install - npm install @lambdatest/smartui-storybook@1.1.18 + npm install @lambdatest/smartui-storybook@1.1.18 -g - name: Create storybook static build run: npm run build-storybook From 45e76672b8581f43fef55f8c0218d865b2d1a7a4 Mon Sep 17 00:00:00 2001 From: parthkirsan Date: Wed, 25 Jun 2025 19:09:03 +0530 Subject: [PATCH 09/11] fix ci-3 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 25fc926e..4e588975 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,4 +39,4 @@ jobs: run: | smartui --version smartui config create .smartui.json - smartui storybook ./18c18586-e375-4f83-b871-4bfec453c5ef --config .smartui.json + smartui storybook ./storybook-static --config .smartui.json From b813d4024b610c1b5ebbf5fbb04816dc9f519306 Mon Sep 17 00:00:00 2001 From: parthkirsan Date: Wed, 25 Jun 2025 19:10:40 +0530 Subject: [PATCH 10/11] fix ci-4 --- .github/workflows/ci.yml | 7 +++---- src/stories/Header.jsx | 3 ++- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4e588975..91a77268 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,7 @@ on: - master env: - PROJECT_TOKEN: 1868537#0465f107-cb19-470b-80b3-ccdf3fe9a263#cypress + PROJECT_TOKEN: ${{ secrets.PROJECT_TOKEN }} jobs: smartui-gihub-action: @@ -17,7 +17,6 @@ jobs: - name: Find Last CommitId run: | API_HOST=https://api.github.com - # Check out the PR branch git checkout $GITHUB_HEAD_REF # Get the commit ID of the last commit @@ -30,13 +29,13 @@ jobs: - name: Install Dependencies run: | npm install - npm install @lambdatest/smartui-storybook@1.1.18 -g + npm install @lambdatest/smartui-storybook -g - name: Create storybook static build run: npm run build-storybook - name: Execute storybook build run: | - smartui --version + smartui --version smartui config create .smartui.json smartui storybook ./storybook-static --config .smartui.json diff --git a/src/stories/Header.jsx b/src/stories/Header.jsx index a08566fa..988e53af 100644 --- a/src/stories/Header.jsx +++ b/src/stories/Header.jsx @@ -24,7 +24,7 @@ export const Header = ({ user, onLogin, onLogout, onCreateAccount }) => ( /> -

Changes for Github PR 6

+

Changes for Github PR

{user ? ( @@ -55,3 +55,4 @@ Header.propTypes = { Header.defaultProps = { user: null, }; + From 012c30b15993a7884b6342a677bbb8ff1e452b63 Mon Sep 17 00:00:00 2001 From: parthkirsan Date: Wed, 25 Jun 2025 19:13:12 +0530 Subject: [PATCH 11/11] fix ci-5 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 91a77268..7c277d90 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,4 +38,4 @@ jobs: run: | smartui --version smartui config create .smartui.json - smartui storybook ./storybook-static --config .smartui.json + smartui storybook ./storybook-static --config .smartui.json