Compare commits

..
20 Commits
Author SHA1 Message Date
John 54c8082eaa Update Auto4
Node.js CI/CD / build (push) Successful in 19s
2026-09-23 13:20:01 +05:30
John 1254a0b9d9 Update Auto3
Node.js CI/CD / build (push) Successful in 26s
2026-09-23 13:18:40 +05:30
John 5fc7ec864c Update Auto2
Node.js CI/CD / build (push) Failing after 13s
2026-09-23 13:11:29 +05:30
John a12b3e5a68 Update Auto2
Node.js CI/CD / build (push) Failing after 40s
2026-09-23 13:00:45 +05:30
John dd22d02945 Update Auto
Node.js CI/CD / build (push) Failing after 22s
2026-09-23 11:02:16 +05:30
John fd95bf52ae ConfigureCI-CD automatic deployment
Node.js CI/CD / build (push) Successful in 24s
2026-09-22 21:17:35 +05:30
John b657ba0215 Configure automatic deployment path3
Node.js CI/CD / build (push) Successful in 24s
2026-09-22 21:09:08 +05:30
John 8435b42778 Configure automatic deployment path2
Node.js CI/CD / build (push) Successful in 20s
2026-09-22 20:55:48 +05:30
John 86dc1fa2a8 Configure automatic deployment path
Node.js CI/CD / build (push) Successful in 24s
2026-09-22 20:51:17 +05:30
John c5c6f45d58 Test Node CI-CD 5 runner
Node.js CI / build (push) Successful in 19s
2026-09-22 19:48:27 +05:30
John 33e025f278 Test Node CI-CD 4 runner
Node.js CI / build (push) Successful in 21s
2026-09-22 19:46:33 +05:30
John 7f3303e3a8 Add npm lock file
Node CI-CD 3 Test / build (push) Failing after 19s
2026-09-22 19:39:15 +05:30
John d8d961cf5d Test Node CI-CD 3 runner
Node CI-CD 3 Test / build (push) Failing after 26s
2026-09-22 19:35:57 +05:30
John c03afc1ddc Test Node CI-CD 2 runner
Node CI-CD 2 Test / build (push) Failing after 25s
2026-09-22 19:33:28 +05:30
John 75d64c9111 Test Node CI-CD runner
Node CI-CD Test / build (push) Failing after 20s
2026-09-22 19:26:50 +05:30
John 659f16ba7c Test Node runner
Node Test / build (push) Failing after 4s
2026-09-22 19:23:45 +05:30
John 4ce386f613 Update Node.js CI workflow
Node.js CI / build (push) Failing after 2s
2026-09-22 17:28:08 +05:30
John 5a3f1ccec8 update after workflow
Node.js CI / build (push) Failing after 2s
2026-09-22 17:20:39 +05:30
John 1c87975602 Merge branch 'main' of http://10.9.11.210:3000/admin/my-node-app
Node.js CI / build (push) Failing after 6s
2026-09-22 17:05:10 +05:30
John 5e13563b1d Add CI workflow 2026-09-22 17:00:30 +05:30
5 changed files with 65 additions and 2 deletions
+49
View File
@@ -0,0 +1,49 @@
name: Node.js CI/CD
on:
push:
branches:
- main
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Check Git
shell: powershell
run: git --version
- name: Check Node.js
shell: powershell
run: node --version
- name: Check npm
shell: powershell
run: npm --version
- name: Install dependencies
shell: powershell
run: npm ci
- name: Check application
shell: powershell
run: node --check app.js
- name: Deploy application
shell: powershell
run: |
$deployPath = "D:\apps\my_temp\my-node-app"
if (!(Test-Path $deployPath)) {
New-Item -ItemType Directory -Path $deployPath -Force
}
Copy-Item -Path ".\*" -Destination $deployPath -Recurse -Force
pm2 restart my-node-app
Write-Host "Deployment completed successfully."
View File
+1
View File
@@ -15,6 +15,7 @@ const server = http.createServer((req, res) => {
</head>
<body>
<h1>Hello from Node.js!</h1>
<h1>CI-CD1</h1>
<p>Welcome, This application is running on Windows 10.</p>
</body>
</html>
+13
View File
@@ -0,0 +1,13 @@
{
"name": "my-node-app",
"version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "my-node-app",
"version": "1.0.0",
"license": "ISC"
}
}
}
+2 -2
View File
@@ -1,9 +1,9 @@
{
"name": "my-node-app",
"version": "1.0.0",
"main": "index.js",
"main": "app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"start": "node app.js"
},
"keywords": [],
"author": "",