Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added .github/workflows/myfile.js
Empty file.
37 changes: 37 additions & 0 deletions .github/workflows/node_cicd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Node JS CI/CD Pipeline

on:
pull_request:
branches:
- master

jobs:
build_nodejs_app:
runs-on: ubuntu-latest

steps:
- name: checkout repository
uses: actions/checkout@v4

- name: Set Up Node.js 22
uses: actions/setup-node@v4
with:
node-version: "22"

- name: Install Dependencies
run: npm install

- name: Build Application
run: echo "Building application" #not working because of no provision for build script in package

- name: Run ESlint
run: echo "running lint"

- name: Run Unit Test
run: echo "Running Unit Tests"






1 change: 1 addition & 0 deletions myfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
//Hello world application in Node.js