From 36a0218a23889603add7bb905712f3c1ef0e8819 Mon Sep 17 00:00:00 2001 From: Lateef Taiwo Date: Fri, 10 Jan 2025 21:37:10 -0600 Subject: [PATCH 01/22] new file: .github/workflows/ci.yml --- .github/workflows/ci.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..2a15500 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,33 @@ +name: Todo-App CI pipeline + +on: + push: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: '14' + + - name: Install dependencies + run: npm install + + # - name: Run tests + # run: npm test + + # - name: Build + # run: npm run build + + # - name: Archive production artifacts + # uses: actions/upload-artifact@v2 + # with: + # name: todo-app \ No newline at end of file From 4731437a087cfbcdd1c3cf674a1490e8fcaf9ffa Mon Sep 17 00:00:00 2001 From: Lateef Taiwo Date: Fri, 10 Jan 2025 21:39:30 -0600 Subject: [PATCH 02/22] modified: .github/workflows/ci.yml --- .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 2a15500..755c137 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,7 @@ name: Todo-App CI pipeline on: push: branches: - - main + - master jobs: build: From f685202f42a412792494dc6029741545c9fff56c Mon Sep 17 00:00:00 2001 From: Lateef Taiwo Date: Fri, 10 Jan 2025 21:42:19 -0600 Subject: [PATCH 03/22] modified: .github/workflows/ci.yml --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 755c137..0516e54 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,9 @@ on: branches: - master + #Allow you to run this workflow manually from the actions tab + workflow_dispatch: + jobs: build: runs-on: ubuntu-latest From 6952dc18a64435e1f4598ce6649ba299051c918f Mon Sep 17 00:00:00 2001 From: Lateef Taiwo Date: Fri, 10 Jan 2025 21:45:21 -0600 Subject: [PATCH 04/22] modified: .github/workflows/ci.yml --- .github/workflows/ci.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0516e54..ba21bca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,13 +24,13 @@ jobs: - name: Install dependencies run: npm install - # - name: Run tests - # run: npm test + - name: Run tests + run: npm test - # - name: Build - # run: npm run build + - name: Start the app + run: npm start - # - name: Archive production artifacts - # uses: actions/upload-artifact@v2 - # with: - # name: todo-app \ No newline at end of file + - name: Archive production artifacts + uses: actions/upload-artifact@v2 + with: + name: todo-app \ No newline at end of file From e4ed291eb2420ae6e1660e63a05f184718201da9 Mon Sep 17 00:00:00 2001 From: Lateef Taiwo Date: Fri, 10 Jan 2025 21:48:46 -0600 Subject: [PATCH 05/22] modified: .github/workflows/ci.yml --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ba21bca..48c5e5b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,7 @@ on: branches: - master - #Allow you to run this workflow manually from the actions tab + #Allow you to run this workflow automatically from the actions tab workflow_dispatch: jobs: @@ -31,6 +31,6 @@ jobs: run: npm start - name: Archive production artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: todo-app \ No newline at end of file From 63bf099aa93c61cbbde3729ea4575297578155ec Mon Sep 17 00:00:00 2001 From: Lateef Taiwo Date: Fri, 10 Jan 2025 21:49:50 -0600 Subject: [PATCH 06/22] modified: .github/workflows/ci.yml --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 48c5e5b..d2f10e3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,8 +24,8 @@ jobs: - name: Install dependencies run: npm install - - name: Run tests - run: npm test + # - name: Run tests + # run: npm test - name: Start the app run: npm start From f18d328633cf8efb198d74cf12524505ce8c4e29 Mon Sep 17 00:00:00 2001 From: Lateef Taiwo Date: Fri, 10 Jan 2025 21:58:31 -0600 Subject: [PATCH 07/22] modified: .github/workflows/ci.yml --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d2f10e3..f319066 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,7 @@ on: branches: - master - #Allow you to run this workflow automatically from the actions tab + #Allow you to run this workflow manually from the actions tab workflow_dispatch: jobs: @@ -28,7 +28,7 @@ jobs: # run: npm test - name: Start the app - run: npm start + run: npm run build - name: Archive production artifacts uses: actions/upload-artifact@v4 From 2e77924ede12fbaf18409aba6be83d82670700d8 Mon Sep 17 00:00:00 2001 From: Lateef Taiwo Date: Fri, 10 Jan 2025 22:00:13 -0600 Subject: [PATCH 08/22] modified: .github/workflows/ci.yml --- .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 f319066..1585e71 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,10 +27,11 @@ jobs: # - name: Run tests # run: npm test - - name: Start the app - run: npm run build + # - name: Start the app + # run: npm start - name: Archive production artifacts uses: actions/upload-artifact@v4 with: - name: todo-app \ No newline at end of file + name: todo-app + path: ci.xml \ No newline at end of file From 6dc7d88784fef44a3c20c81cc01bc188e9f06162 Mon Sep 17 00:00:00 2001 From: Lateef Taiwo Date: Sat, 8 Mar 2025 08:50:30 -0600 Subject: [PATCH 09/22] modified: .github/workflows/cicd.yml --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1585e71..5ff73d9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,15 +23,15 @@ jobs: - name: Install dependencies run: npm install + + - name: Run tests + run: npm test - # - name: Run tests - # run: npm test - - # - name: Start the app - # run: npm start + - name: Build + run: npm run build - name: Archive production artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v2 with: name: todo-app path: ci.xml \ No newline at end of file From bf24f4239a58043917d802c2646324b2e407893d Mon Sep 17 00:00:00 2001 From: Lateef Taiwo Date: Sat, 8 Mar 2025 08:58:49 -0600 Subject: [PATCH 10/22] modified: .github/workflows/ci.yml --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ff73d9..1585e71 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,15 +23,15 @@ jobs: - name: Install dependencies run: npm install - - - name: Run tests - run: npm test - - name: Build - run: npm run build + # - name: Run tests + # run: npm test + + # - name: Start the app + # run: npm start - name: Archive production artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: todo-app path: ci.xml \ No newline at end of file From cdffea09ab398f589b1460462922ba0a1bd9b256 Mon Sep 17 00:00:00 2001 From: lateef taiwo <66183213+lateef-taiwo@users.noreply.github.com> Date: Sat, 8 Mar 2025 09:44:31 -0600 Subject: [PATCH 11/22] Update ci.yml --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1585e71..62f143f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,8 +30,8 @@ jobs: # - name: Start the app # run: npm start - - name: Archive production artifacts + - name: Archive development artifacts uses: actions/upload-artifact@v4 with: name: todo-app - path: ci.xml \ No newline at end of file + path: ci.xml From a7fe9368c9aa81ce32dd8d352f4611f7ee17bc81 Mon Sep 17 00:00:00 2001 From: Lateef Taiwo Date: Sat, 8 Mar 2025 09:52:54 -0600 Subject: [PATCH 12/22] modified: .github/workflows/ci.yml --- .github/workflows/ci.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1585e71..14cdd92 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,11 @@ jobs: uses: actions/setup-node@v2 with: node-version: '14' + + Integrate: + runs-on: ubuntu-latest + steps: - name: Install dependencies run: npm install @@ -30,8 +34,11 @@ jobs: # - name: Start the app # run: npm start - - name: Archive production artifacts - uses: actions/upload-artifact@v4 + Archive: + runs-on: ubuntu-latest + steps: + - name: Download production artifacts + uses: actions/download-artifact@v2 with: - name: todo-app + name: todo-app path: ci.xml \ No newline at end of file From 7341144ec771fb125d63004afe63271f9f6d16b5 Mon Sep 17 00:00:00 2001 From: Lateef Taiwo Date: Sat, 8 Mar 2025 10:02:22 -0600 Subject: [PATCH 13/22] modified: .github/workflows/ci.yml --- .github/workflows/ci.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 14cdd92..9915da5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,11 +20,7 @@ jobs: uses: actions/setup-node@v2 with: node-version: '14' - - Integrate: - runs-on: ubuntu-latest - steps: - name: Install dependencies run: npm install From 533618393dd7d4755a80d7f090c6df3e372addb5 Mon Sep 17 00:00:00 2001 From: Lateef Taiwo Date: Sat, 8 Mar 2025 10:21:53 -0600 Subject: [PATCH 14/22] renamed: REDME.txt -> README.txt --- REDME.txt => README.txt | 1 + 1 file changed, 1 insertion(+) rename REDME.txt => README.txt (99%) diff --git a/REDME.txt b/README.txt similarity index 99% rename from REDME.txt rename to README.txt index e2d2ad3..e97fc59 100644 --- a/REDME.txt +++ b/README.txt @@ -52,5 +52,6 @@ Technologies Used: NodeJS, ExpressJS, EJS, CSS, JavaScript, Nodemon, MongoDB, Mo ![image](https://user-images.githubusercontent.com/92246613/225239994-a5217721-e687-480e-9639-8a969410bb8f.png) +Testing New Feature branch From 20513dfd62144570d9af07fbf10255728ec6d1d4 Mon Sep 17 00:00:00 2001 From: Lateef Taiwo Date: Sat, 8 Mar 2025 10:43:54 -0600 Subject: [PATCH 15/22] feature/modify-ui-structure --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9915da5..1605641 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,11 @@ on: push: branches: - master - + - dev + - feature/modify-ui-structure + pull_request: + branches: + - master #Allow you to run this workflow manually from the actions tab workflow_dispatch: From a825165c4270a5fcdca48f962f646b138b324501 Mon Sep 17 00:00:00 2001 From: Lateef Taiwo Date: Sat, 8 Mar 2025 10:52:56 -0600 Subject: [PATCH 16/22] feature/modify-ui-structure --- .github/workflows/ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1605641..0d2577c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,8 +37,13 @@ jobs: Archive: runs-on: ubuntu-latest steps: + - name: Archive production artifacts + uses: actions/upload-artifact@v2 + with: + name: test-results + path: test-results/ - name: Download production artifacts uses: actions/download-artifact@v2 with: - name: todo-app - path: ci.xml \ No newline at end of file + name: test-results + path: ./test-results/artifacts.txt \ No newline at end of file From 381c1caa8263b422bcb382c6e66fd0af3345e993 Mon Sep 17 00:00:00 2001 From: Lateef Taiwo Date: Sat, 8 Mar 2025 10:55:48 -0600 Subject: [PATCH 17/22] feature/modify-ui-structure --- .github/workflows/ci.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0d2577c..5b9f704 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,9 +34,6 @@ jobs: # - name: Start the app # run: npm start - Archive: - runs-on: ubuntu-latest - steps: - name: Archive production artifacts uses: actions/upload-artifact@v2 with: From a9da10b9313919cf3120fc918840f85f40bda293 Mon Sep 17 00:00:00 2001 From: Lateef Taiwo Date: Sat, 8 Mar 2025 10:58:32 -0600 Subject: [PATCH 18/22] feature/modify-ui-structure --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5b9f704..20eea23 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,12 +35,12 @@ jobs: # run: npm start - name: Archive production artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: test-results path: test-results/ - name: Download production artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: test-results path: ./test-results/artifacts.txt \ No newline at end of file From 371f9f1d5c8a6d56f5ca4f930ef35845d49b01a5 Mon Sep 17 00:00:00 2001 From: Lateef Taiwo Date: Sat, 8 Mar 2025 11:00:26 -0600 Subject: [PATCH 19/22] feature/modify-ui-structure --- .github/workflows/ci.yml | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 20eea23..9644a3d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,11 +4,7 @@ on: push: branches: - master - - dev - - feature/modify-ui-structure - pull_request: - branches: - - master + #Allow you to run this workflow manually from the actions tab workflow_dispatch: @@ -34,13 +30,8 @@ jobs: # - name: Start the app # run: npm start - - name: Archive production artifacts + - name: Archive development artifacts uses: actions/upload-artifact@v4 with: - name: test-results - path: test-results/ - - name: Download production artifacts - uses: actions/download-artifact@v4 - with: - name: test-results - path: ./test-results/artifacts.txt \ No newline at end of file + name: todo-app + path: ci.xml \ No newline at end of file From d8265b93f5f02e091d2e4b79134aedbd3fce4371 Mon Sep 17 00:00:00 2001 From: Lateef Taiwo Date: Sat, 8 Mar 2025 11:10:17 -0600 Subject: [PATCH 20/22] feature/modify-ui-structure --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9644a3d..e86143e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,3 +1,4 @@ + name: Todo-App CI pipeline on: @@ -34,4 +35,5 @@ jobs: uses: actions/upload-artifact@v4 with: name: todo-app - path: ci.xml \ No newline at end of file + path: ci.xml + \ No newline at end of file From f25bb9e16139567f5bd2cf78e996399472018acc Mon Sep 17 00:00:00 2001 From: Lateef Taiwo Date: Sat, 8 Mar 2025 11:12:09 -0600 Subject: [PATCH 21/22] feature/modify-ui-structure --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e86143e..077f77e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,12 @@ on: push: branches: - master + - feature/modify-ui-structure + + pull_request: + branches: + - master + - feature/modify-ui-structure #Allow you to run this workflow manually from the actions tab workflow_dispatch: @@ -36,4 +42,3 @@ jobs: with: name: todo-app path: ci.xml - \ No newline at end of file From 6c619bc5595e61330687f475aa06e2728c112839 Mon Sep 17 00:00:00 2001 From: Lateef Taiwo Date: Sun, 20 Jul 2025 16:41:43 -0500 Subject: [PATCH 22/22] modified: .github/workflows/ci.yml --- .github/workflows/ci.yml | 39 +++++++++------------------------------ 1 file changed, 9 insertions(+), 30 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 077f77e..85c7e49 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,44 +1,23 @@ - -name: Todo-App CI pipeline +name: continuous-integration pipeline for nodejs App on: push: branches: - - master - - feature/modify-ui-structure - - pull_request: - branches: - - master - - feature/modify-ui-structure - - #Allow you to run this workflow manually from the actions tab - workflow_dispatch: + - main jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: - node-version: '14' - + node-version: 18 + cache: 'npm' + - name: Install dependencies - run: npm install - - # - name: Run tests - # run: npm test - - # - name: Start the app - # run: npm start - - - name: Archive development artifacts - uses: actions/upload-artifact@v4 - with: - name: todo-app - path: ci.xml + run: npm install \ No newline at end of file