From 9826b926e925984fb949b744a5d061d5f14df0d4 Mon Sep 17 00:00:00 2001 From: Kavish Date: Sun, 22 Jun 2025 22:53:29 -0400 Subject: [PATCH 01/17] Create node.js.yml --- .github/workflows/node.js.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/node.js.yml diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml new file mode 100644 index 0000000..d6e2e4c --- /dev/null +++ b/.github/workflows/node.js.yml @@ -0,0 +1,32 @@ +# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs + +name: Node.js CI + +on: + push: + branches: [ "master-vue" ] + pull_request: + branches: [ "master-vue" ] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [18.x, 20.x, 22.x] + # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ + + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + - run: npm ci + - run: npm run build --if-present + - run: ls + - run: cd dist/ From 049f560748207df32f387dc238c5acd8b2ea4c06 Mon Sep 17 00:00:00 2001 From: Kavish Date: Sun, 22 Jun 2025 22:55:17 -0400 Subject: [PATCH 02/17] Update node.js.yml --- .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 d6e2e4c..ced04a6 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -26,7 +26,7 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'npm' - - run: npm ci - - run: npm run build --if-present + - run: yarn install + - run: yarn build - run: ls - run: cd dist/ From 806311a0963140941ca29e66f9c9a9f39a6ccb84 Mon Sep 17 00:00:00 2001 From: Kavish Date: Sun, 22 Jun 2025 22:57:58 -0400 Subject: [PATCH 03/17] Update node.js.yml --- .github/workflows/node.js.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index ced04a6..c525efb 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - node-version: [18.x, 20.x, 22.x] + node-version: [22.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: @@ -30,3 +30,7 @@ jobs: - run: yarn build - run: ls - run: cd dist/ + - run: git init + - run: git add -A + - run: git commit -m 'deploy' + - run: git log From 9330245c041b1166f70123c242a1fba97ee73900 Mon Sep 17 00:00:00 2001 From: Kavish Date: Sun, 22 Jun 2025 23:00:19 -0400 Subject: [PATCH 04/17] Update node.js.yml --- .github/workflows/node.js.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index c525efb..a57eb69 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -32,5 +32,6 @@ jobs: - run: cd dist/ - run: git init - run: git add -A + - run: git config user.email kavishrmunjal@gmail.com - run: git commit -m 'deploy' - run: git log From e252f26262cbeae9998b0dd51474bd2fb0d92ed1 Mon Sep 17 00:00:00 2001 From: Kavish Date: Sun, 22 Jun 2025 23:08:45 -0400 Subject: [PATCH 05/17] Update node.js.yml --- .github/workflows/node.js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index a57eb69..b4dc47a 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -32,6 +32,6 @@ jobs: - run: cd dist/ - run: git init - run: git add -A - - run: git config user.email kavishrmunjal@gmail.com + - run: git config user.name "Kavish" && git config user.email kavishrmunjal@gmail.com - run: git commit -m 'deploy' - run: git log From 57ffc34761f64a9cdc405289a421eb1f6da5b898 Mon Sep 17 00:00:00 2001 From: Kavish Date: Sun, 22 Jun 2025 23:12:00 -0400 Subject: [PATCH 06/17] Update node.js.yml --- .github/workflows/node.js.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index b4dc47a..a4c009b 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -27,11 +27,5 @@ jobs: node-version: ${{ matrix.node-version }} cache: 'npm' - run: yarn install - - run: yarn build - - run: ls - - run: cd dist/ - - run: git init - - run: git add -A - - run: git config user.name "Kavish" && git config user.email kavishrmunjal@gmail.com - - run: git commit -m 'deploy' - - run: git log + - run: git config --global user.name "Kavish" && git config --global user.email kavishrmunjal@gmail.com + - run: ./deploy.sh From 792259b2191a8c37684c1ee3b274f95105405b75 Mon Sep 17 00:00:00 2001 From: Kavish Date: Sun, 22 Jun 2025 23:22:00 -0400 Subject: [PATCH 07/17] Update node.js.yml --- .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 a4c009b..0566a1a 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -9,6 +9,9 @@ on: pull_request: branches: [ "master-vue" ] +permissions: + contents: write + jobs: build: From b9e27b5c8bce6698a65d2c5ecd33cbd8ca342baa Mon Sep 17 00:00:00 2001 From: Kavish Date: Sun, 22 Jun 2025 23:34:30 -0400 Subject: [PATCH 08/17] Update node.js.yml --- .github/workflows/node.js.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 0566a1a..1392a35 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -9,8 +9,7 @@ on: pull_request: branches: [ "master-vue" ] -permissions: - contents: write +permissions: write-all jobs: build: From 562aebdee33def40d41ce5ac2a1752903b9864fc Mon Sep 17 00:00:00 2001 From: Kavish Date: Sun, 22 Jun 2025 23:38:06 -0400 Subject: [PATCH 09/17] Update node.js.yml --- .github/workflows/node.js.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 1392a35..96be6ba 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -9,8 +9,6 @@ on: pull_request: branches: [ "master-vue" ] -permissions: write-all - jobs: build: @@ -29,5 +27,5 @@ jobs: node-version: ${{ matrix.node-version }} cache: 'npm' - run: yarn install - - run: git config --global user.name "Kavish" && git config --global user.email kavishrmunjal@gmail.com + - run: git config --global user.name "kabbagepatch" && git config --global user.email kavishrmunjal@gmail.com - run: ./deploy.sh From ef4a653e630e8216acc91520a612d2b03263dace Mon Sep 17 00:00:00 2001 From: Kavish Date: Sun, 22 Jun 2025 23:58:56 -0400 Subject: [PATCH 10/17] Update deploy.sh --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 99f6e1f..3d787d9 100755 --- a/deploy.sh +++ b/deploy.sh @@ -18,7 +18,7 @@ git add -A git commit -m 'deploy' # if you are deploying to https://.github.io -git push -f git@github.com:kabbagepatch/kabbagepatch.github.io.git master +git push -f https://github.com/kabbagepatch/kabbagepatch.github.io.git master # if you are deploying to https://.github.io/ # git push -f git@github.com:/.git master:gh-pages From 7c4e04e1d872138edf0bc6530a88fc688baf6762 Mon Sep 17 00:00:00 2001 From: Kavish Date: Mon, 23 Jun 2025 00:03:33 -0400 Subject: [PATCH 11/17] Update deploy.sh --- deploy.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 3d787d9..67f7989 100755 --- a/deploy.sh +++ b/deploy.sh @@ -18,7 +18,8 @@ git add -A git commit -m 'deploy' # if you are deploying to https://.github.io -git push -f https://github.com/kabbagepatch/kabbagepatch.github.io.git master +git remote add origin https://github.com/kabbagepatch/kabbagepatch.github.io.git +git push -f origin master # if you are deploying to https://.github.io/ # git push -f git@github.com:/.git master:gh-pages From 0bb73c09677a2a049b30e70db048664257129ae7 Mon Sep 17 00:00:00 2001 From: Kavish Date: Mon, 23 Jun 2025 00:10:13 -0400 Subject: [PATCH 12/17] Update deploy.sh --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 67f7989..b550956 100755 --- a/deploy.sh +++ b/deploy.sh @@ -18,7 +18,7 @@ git add -A git commit -m 'deploy' # if you are deploying to https://.github.io -git remote add origin https://github.com/kabbagepatch/kabbagepatch.github.io.git +git remote set-url origin https://github.com/kabbagepatch/kabbagepatch.github.io.git git push -f origin master # if you are deploying to https://.github.io/ From d9b694fea65604c57447f29deb3f0c27c9e1714b Mon Sep 17 00:00:00 2001 From: Kavish Date: Mon, 23 Jun 2025 00:16:22 -0400 Subject: [PATCH 13/17] Update deploy.sh --- deploy.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/deploy.sh b/deploy.sh index b550956..3d5f7fb 100755 --- a/deploy.sh +++ b/deploy.sh @@ -18,8 +18,7 @@ git add -A git commit -m 'deploy' # if you are deploying to https://.github.io -git remote set-url origin https://github.com/kabbagepatch/kabbagepatch.github.io.git -git push -f origin master +git push -f https://kabbagepatch:kabbagepatch@github.com/kabbagepatch/kabbagepatch.github.io.git master # if you are deploying to https://.github.io/ # git push -f git@github.com:/.git master:gh-pages From af2cc58489318acd7e409280f1abd2d3af81ab0e Mon Sep 17 00:00:00 2001 From: Kavish Date: Mon, 23 Jun 2025 00:17:42 -0400 Subject: [PATCH 14/17] Update node.js.yml --- .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 96be6ba..6c14984 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -26,6 +26,9 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'npm' + env: + GIT_TOKEN: ${{ secrets.GIT_TOKEN }} - run: yarn install - run: git config --global user.name "kabbagepatch" && git config --global user.email kavishrmunjal@gmail.com + - run: echo "$GIT_TOKEN" - run: ./deploy.sh From b1d0009d6c2a936d40ee062fe773238ffc584bb0 Mon Sep 17 00:00:00 2001 From: Kavish Date: Mon, 23 Jun 2025 00:22:37 -0400 Subject: [PATCH 15/17] Update deploy.sh --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 3d5f7fb..fc63644 100755 --- a/deploy.sh +++ b/deploy.sh @@ -18,7 +18,7 @@ git add -A git commit -m 'deploy' # if you are deploying to https://.github.io -git push -f https://kabbagepatch:kabbagepatch@github.com/kabbagepatch/kabbagepatch.github.io.git master +git push -f https://kabbagepatch:$GIT_TOKEN@github.com/kabbagepatch/kabbagepatch.github.io.git master # if you are deploying to https://.github.io/ # git push -f git@github.com:/.git master:gh-pages From e1c567377e75fa2ace55602fed85a9df4d653e4d Mon Sep 17 00:00:00 2001 From: Kavish Date: Mon, 23 Jun 2025 00:27:36 -0400 Subject: [PATCH 16/17] Update node.js.yml --- .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 6c14984..fcff847 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -14,6 +14,9 @@ jobs: runs-on: ubuntu-latest + env: + GIT_TOKEN: ${{ secrets.GIT_TOKEN }} + strategy: matrix: node-version: [22.x] @@ -26,8 +29,6 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'npm' - env: - GIT_TOKEN: ${{ secrets.GIT_TOKEN }} - run: yarn install - run: git config --global user.name "kabbagepatch" && git config --global user.email kavishrmunjal@gmail.com - run: echo "$GIT_TOKEN" From cf9bdf68f5e01fef946e2a295c5fb27ead73b0f1 Mon Sep 17 00:00:00 2001 From: Kavish Date: Mon, 23 Jun 2025 00:30:45 -0400 Subject: [PATCH 17/17] Update node.js.yml --- .github/workflows/node.js.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index fcff847..1e90417 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -6,8 +6,6 @@ name: Node.js CI on: push: branches: [ "master-vue" ] - pull_request: - branches: [ "master-vue" ] jobs: build: @@ -31,5 +29,4 @@ jobs: cache: 'npm' - run: yarn install - run: git config --global user.name "kabbagepatch" && git config --global user.email kavishrmunjal@gmail.com - - run: echo "$GIT_TOKEN" - run: ./deploy.sh