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 modified .browserslistrc
100644 → 100755
Empty file.
Empty file modified .editorconfig
100644 → 100755
Empty file.
54 changes: 54 additions & 0 deletions .github/workflows/kickstart-dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Name of the pipeline
name: Angular Kickstart

# Trigger for the pipeline
# This pipeline will be triggered whenever a commit is pushed to "development" branch
on:
push:
branches:
- development

# Jobs to run
jobs:
deploy:
# "ubuntu-latest" is GitHub Actions' provided runner.
# Its' equipped with mostly all the tools needed to build applications.
# But since it is hosted and owned by Microsoft (GitHub).
# Clients and businesses prefer to use their own hosted runners for data security.
# Momentum had their runners hosted as pods on the EKS cluster.
runs-on: ubuntu-latest
steps:
# This step configures the AWS credentials stored in Repository Secrets of GitHub.
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
env:
REGION: ap-south-1 # Using custom environments
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ env.REGION }}

# This step takes a clone of the repository on the runner.
- name: Checkout code from GitHub
uses: actions/checkout@v2

# This action step installs the desired version of node js on the runner, if not present.
- name: Setup Node.js 14.x
uses: actions/setup-node@v2
with:
node-version: 14

# Installs the dependencies for the Angular Application
- name: Install dependencies
run: npm install

# Packages the build artifact
- name: Build application artifact
run: npm run build

# Deploys the artifact to s3 bucket for hosting the application
# success() method ensures that this step only runs when all previous ones
# are successfully executed.
- name: Deploy the artifact to S3
if: success()
run: aws s3 sync ./dist/kickstart-angular s3://angular-kickstart-s3
Empty file modified .gitignore
100644 → 100755
Empty file.
4 changes: 3 additions & 1 deletion README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,6 @@ The above command will start the server at http://localhost:4200/
## RULES!!!

- You have to strictly follow the branching method. Working on master or development branch is STRICTLY FORBIDDEN!
- EACH TASK IS TO BE DOCUMENTED ALONG WITH SCREENSHOTS. DOCUMENTATION IS EQUALLY VALUABLE AS THE IMPLEMENTATION ITSELF.
- EACH TASK IS TO BE DOCUMENTED ALONG WITH SCREENSHOTS. DOCUMENTATION IS EQUALLY VALUABLE AS THE IMPLEMENTATION ITSELF.

## ENJOY And Change what you can and improve the Application
3 changes: 3 additions & 0 deletions angular.json
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"cli": {
"analytics": false
},
"version": 1,
"newProjectRoot": "projects",
"projects": {
Expand Down
Empty file modified karma.conf.js
100644 → 100755
Empty file.
18 changes: 18 additions & 0 deletions new.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
12
12

12
1
2
1

2
12
2
1
1
2
2
3
4
in features
Loading