Test Node CI-CD 4 runner
Node.js CI / build (push) Successful in 21s

This commit is contained in:
John
2026-09-22 19:46:33 +05:30
parent 7f3303e3a8
commit 33e025f278
2 changed files with 9 additions and 19 deletions
+7 -17
View File
@@ -1,4 +1,4 @@
name: Node CI-CD 3 Test
name: Node.js CI
on:
push:
@@ -15,30 +15,20 @@ jobs:
- name: Check Git
shell: powershell
run: |
git --version
run: git --version
- name: Check Node.js
shell: powershell
run: |
node --version
run: node --version
- name: Check npm
shell: powershell
run: |
npm --version
run: npm --version
- name: Install dependencies
shell: powershell
run: |
npm ci
run: npm ci
- name: Run tests
- name: Check application
shell: powershell
run: |
npm test
- name: Build application
shell: powershell
run: |
npm run build
run: node --check app.js
+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": "",