From ff7b0d670de0ab1c7213ba011f191f476c11d642 Mon Sep 17 00:00:00 2001 From: aks96 Date: Mon, 9 Jun 2025 23:23:45 +0530 Subject: [PATCH 1/4] testing the aws flow end to end --- src/screens/accept-invitation/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/screens/accept-invitation/index.tsx b/src/screens/accept-invitation/index.tsx index 86aaae8..76cf461 100644 --- a/src/screens/accept-invitation/index.tsx +++ b/src/screens/accept-invitation/index.tsx @@ -2,7 +2,7 @@ import React from 'react'; import AcceptInvitation from '@auth0/auth0-acul-js/accept-invitation'; const AcceptInvitationScreen: React.FC = () => { - const acceptInvitationManager = new AcceptInvitation(); + const acceptInvitationManager = new AcceptInvitation(); //test aws const { screen, transaction } = acceptInvitationManager; const handleAcceptInvitation = async () => { From cf175853df6f67ee03f5af1ce2c9d745379adffe Mon Sep 17 00:00:00 2001 From: aks96 Date: Tue, 10 Jun 2025 12:38:01 +0530 Subject: [PATCH 2/4] Configuration update for aws --- .github/workflows/aws-publish.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/aws-publish.yml b/.github/workflows/aws-publish.yml index 46948cc..de839ef 100644 --- a/.github/workflows/aws-publish.yml +++ b/.github/workflows/aws-publish.yml @@ -12,6 +12,17 @@ jobs: id-token: write # Required for OIDC contents: read # Required to fetch repo contents steps: + # Step 0: Cache node_modules and Vite cache + - name: Cache node_modules and Vite cache + uses: actions/cache@v4 + with: + path: | + node_modules + **/.vite + key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-node- + # Step 1: Checkout the code - name: Checkout code uses: actions/checkout@v4 @@ -28,9 +39,12 @@ jobs: - name: Install dependencies run: npm ci --include=dev + - name: Echo before build + run: echo "Starting build step..." + # Step 4: Build the project - name: Build package - run: npm run build + run: NODE_OPTIONS="--max_old_space_size=4096" npm run build # Step 5: Configure AWS credentials via OIDC - name: Configure AWS credentials From f1dbabd20e22964c1016b71b1b32de0a62afb161 Mon Sep 17 00:00:00 2001 From: aks96 Date: Tue, 10 Jun 2025 12:55:50 +0530 Subject: [PATCH 3/4] remove --watch flag from build --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0ac811c..2e3ac6b 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "type": "module", "scripts": { "dev": "vite", - "build": "tsc -b && vite build --watch", + "build": "tsc -b && vite build", "lint": "eslint .", "preview": "vite preview" }, From 80356930c7e4719ab08f64c9e587b46e586340ef Mon Sep 17 00:00:00 2001 From: aks96 Date: Wed, 11 Jun 2025 14:31:57 +0530 Subject: [PATCH 4/4] Configuration update for aws --- .github/workflows/aws-publish.yml | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/.github/workflows/aws-publish.yml b/.github/workflows/aws-publish.yml index de839ef..46948cc 100644 --- a/.github/workflows/aws-publish.yml +++ b/.github/workflows/aws-publish.yml @@ -12,17 +12,6 @@ jobs: id-token: write # Required for OIDC contents: read # Required to fetch repo contents steps: - # Step 0: Cache node_modules and Vite cache - - name: Cache node_modules and Vite cache - uses: actions/cache@v4 - with: - path: | - node_modules - **/.vite - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node- - # Step 1: Checkout the code - name: Checkout code uses: actions/checkout@v4 @@ -39,12 +28,9 @@ jobs: - name: Install dependencies run: npm ci --include=dev - - name: Echo before build - run: echo "Starting build step..." - # Step 4: Build the project - name: Build package - run: NODE_OPTIONS="--max_old_space_size=4096" npm run build + run: npm run build # Step 5: Configure AWS credentials via OIDC - name: Configure AWS credentials