From 0dd757a1feb9dc3ab391d0a315307e86865a821c Mon Sep 17 00:00:00 2001 From: Sojin Antony Date: Sat, 28 Feb 2026 22:35:40 +0530 Subject: [PATCH 1/9] audit fix, change to vite and vitest --- .github/workflows/node.js.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index fb15223..8d87fa5 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -37,15 +37,12 @@ jobs: env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - - name: Build demo - run: npm run demo:build - - name: Deploy run: | git config --global user.name $user_name git config --global user.email $user_email - git remote set-url origin https://${github_token}@github.com/${repository} - npm run deploy + npm run demo:build + npx gh-pages -d dist --repo https://x-access-token:${github_token}@github.com/${repository}.git env: user_name: 'github-actions[bot]' user_email: 'github-actions[bot]@users.noreply.github.com' From 71829f786b6f8fa24d9a7a1fcf1e1f45eb0d83c9 Mon Sep 17 00:00:00 2001 From: Sojin Antony Date: Sat, 28 Feb 2026 22:39:39 +0530 Subject: [PATCH 2/9] audit fix, change to vite and vitest --- .github/workflows/node.js.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 8d87fa5..7025d1b 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -41,12 +41,13 @@ jobs: run: | git config --global user.name $user_name git config --global user.email $user_email + git remote set-url origin https://x-access-token:${ACTIONS_DEPLOY_ACCESS_TOKEN_SHEET}@github.com/${repository}.git npm run demo:build - npx gh-pages -d dist --repo https://x-access-token:${github_token}@github.com/${repository}.git + npx gh-pages -d dist env: user_name: 'github-actions[bot]' user_email: 'github-actions[bot]@users.noreply.github.com' - github_token: ${{ secrets.ACTIONS_DEPLOY_ACCESS_TOKEN_SHEET }} + ACTIONS_DEPLOY_ACCESS_TOKEN_SHEET: ${{ secrets.ACTIONS_DEPLOY_ACCESS_TOKEN_SHEET }} repository: ${{ github.repository }} # Made with Bob From aa32f359b9770c2644f562cd695aa7b71297f39d Mon Sep 17 00:00:00 2001 From: Sojin Antony Date: Sat, 28 Feb 2026 22:45:47 +0530 Subject: [PATCH 3/9] audit fix, change to vite and vitest --- .github/workflows/node.js.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 7025d1b..4118ff3 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -3,6 +3,8 @@ name: CI/CD on: push: branches: [ main ] + pull_request: + branches: [ main ] jobs: build: @@ -38,6 +40,7 @@ jobs: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - name: Deploy + if: github.event_name == 'push' run: | git config --global user.name $user_name git config --global user.email $user_email From 49bcc5d0515a1dce78cc39852746576abf11d572 Mon Sep 17 00:00:00 2001 From: Sojin Antony Date: Sat, 28 Feb 2026 22:52:13 +0530 Subject: [PATCH 4/9] audit fix, change to vite and vitest --- .github/workflows/node.js.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 4118ff3..49828b9 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -40,7 +40,6 @@ jobs: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - name: Deploy - if: github.event_name == 'push' run: | git config --global user.name $user_name git config --global user.email $user_email From a7eaaef35b940b1ba33a41641f0eceeb54e0bfb7 Mon Sep 17 00:00:00 2001 From: Sojin Antony Date: Sat, 28 Feb 2026 22:58:06 +0530 Subject: [PATCH 5/9] audit fix, change to vite and vitest --- .github/workflows/node.js.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 49828b9..fa9d307 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -39,17 +39,19 @@ jobs: env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + - name: Build demo + run: npm run demo:build + - name: Deploy run: | git config --global user.name $user_name git config --global user.email $user_email - git remote set-url origin https://x-access-token:${ACTIONS_DEPLOY_ACCESS_TOKEN_SHEET}@github.com/${repository}.git - npm run demo:build - npx gh-pages -d dist + git remote set-url origin https://${github_token}@github.com/${repository} + npm run deploy env: user_name: 'github-actions[bot]' user_email: 'github-actions[bot]@users.noreply.github.com' - ACTIONS_DEPLOY_ACCESS_TOKEN_SHEET: ${{ secrets.ACTIONS_DEPLOY_ACCESS_TOKEN_SHEET }} + github_token: ${{ secrets.ACTIONS_DEPLOY_ACCESS_TOKEN_SHEET }} repository: ${{ github.repository }} # Made with Bob From b4a89df202c57258d46354f7ab527a783b75f738 Mon Sep 17 00:00:00 2001 From: Sojin Antony Date: Sat, 28 Feb 2026 23:00:41 +0530 Subject: [PATCH 6/9] audit fix, change to vite and vitest --- .github/workflows/node.js.yml | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index fa9d307..2d2a953 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -17,30 +17,26 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v2 - name: Set up Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 + uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - cache: 'npm' - name: Install dependencies - run: npm ci - - - name: Install gh-pages + run: npm install + - name: install gh pages separately run: npm install gh-pages - - name: Unit test run: npm run test:ci - - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v3 env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - - name: Build demo - run: npm run demo:build + - name: Build + run: npm run react-build - name: Deploy run: | @@ -52,6 +48,4 @@ jobs: user_name: 'github-actions[bot]' user_email: 'github-actions[bot]@users.noreply.github.com' github_token: ${{ secrets.ACTIONS_DEPLOY_ACCESS_TOKEN_SHEET }} - repository: ${{ github.repository }} - -# Made with Bob + repository: ${{ github.repository }} \ No newline at end of file From ce5d3a5bb9f450e87143ee200dfc5911e5477657 Mon Sep 17 00:00:00 2001 From: Sojin Antony Date: Sat, 28 Feb 2026 23:02:48 +0530 Subject: [PATCH 7/9] audit fix, change to vite and vitest --- .github/workflows/node.js.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 2d2a953..30170d1 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -35,8 +35,8 @@ jobs: env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - - name: Build - run: npm run react-build + - name: Build demo + run: npm run demo:build - name: Deploy run: | From 422721d8a5cb2003f072c9ac8db37b0200f1201b Mon Sep 17 00:00:00 2001 From: Sojin Antony Date: Sat, 28 Feb 2026 23:10:42 +0530 Subject: [PATCH 8/9] audit fix, change to vite and vitest --- .github/workflows/node.js.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 30170d1..736f45a 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -17,33 +17,34 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} + cache: 'npm' - name: Install dependencies - run: npm install - - name: install gh pages separately + run: npm ci + + - name: Install gh-pages run: npm install gh-pages + - name: Unit test run: npm run test:ci + - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v3 env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} - - name: Build demo - run: npm run demo:build - - name: Deploy run: | git config --global user.name $user_name git config --global user.email $user_email - git remote set-url origin https://${github_token}@github.com/${repository} - npm run deploy + npm run demo:build + npx gh-pages -d dist --repo https://x-access-token:${github_token}@github.com/${repository}.git env: user_name: 'github-actions[bot]' user_email: 'github-actions[bot]@users.noreply.github.com' From 8544519953f180948e0609e5e50a841832dd4dd3 Mon Sep 17 00:00:00 2001 From: Sojin Antony Date: Sat, 28 Feb 2026 23:12:01 +0530 Subject: [PATCH 9/9] audit fix, change to vite and vitest --- .github/workflows/node.js.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 736f45a..60aab7b 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -3,8 +3,6 @@ name: CI/CD on: push: branches: [ main ] - pull_request: - branches: [ main ] jobs: build: