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
28 changes: 28 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name : CI/CD Pipeline
on:
push:
branches:
- main # runs when you push to the main

pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/setup-node@v3
with:
node-version: 16

- name: Install Dependencies
run: npm install

- name: Run Tests
run: npm test

- name: Deploy
run: echo "Deploying the application..."

3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"WhiteSource Advise.Diff.BaseBranch": "main"
}
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const express = require('express');
const app = express();
const port = 8080;

app.get('/', (req, res) => res.send('Hello World!'));
app.get('/', (req, res) => res.send('Hello Farat syed'));

app.listen(port);
console.log(`App running on http://localhost:${port}`);
1 change: 1 addition & 0 deletions aws-elastic-beanstalk-express-js-sample
Submodule aws-elastic-beanstalk-express-js-sample added at eb899a