Files
my-node-app/.github/workflows/build.yml
T
John 33e025f278
Node.js CI / build (push) Successful in 21s
Test Node CI-CD 4 runner
2026-09-22 19:46:33 +05:30

35 lines
595 B
YAML

name: Node.js CI
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