Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abcd #36

Open
wants to merge 97 commits into
base: main
Choose a base branch
from
Open

Abcd #36

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
5f4f0e4
Set up CI with Azure Pipelines
BhavikChhabria Apr 14, 2024
d4177df
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 14, 2024
fb5add3
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 14, 2024
7225000
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 14, 2024
fa31dce
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 14, 2024
5c768b7
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 14, 2024
c088c31
Set up CI with Azure Pipelines
BhavikChhabria Apr 14, 2024
5e6d95c
Update azure-pipelines-1.yml for Azure Pipelines
BhavikChhabria Apr 14, 2024
2232c9f
Update azure-pipelines-1.yml for Azure Pipelines
BhavikChhabria Apr 14, 2024
dc02593
Update azure-pipelines-1.yml for Azure Pipelines
BhavikChhabria Apr 14, 2024
8ed64f3
Update azure-pipelines-1.yml for Azure Pipelines
BhavikChhabria Apr 14, 2024
6c7211f
Merge pull request #1 from bha1212002/azure-pipelines
BhavikChhabria Apr 14, 2024
34681dc
Update package.json
BhavikChhabria Apr 15, 2024
5414d04
Delete azure-pipelines-1.yml
BhavikChhabria Apr 17, 2024
8078696
Delete azure-pipelines.yml
BhavikChhabria Apr 17, 2024
9cde362
Set up CI with Azure Pipelines
BhavikChhabria Apr 17, 2024
134e32d
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 17, 2024
4fe1322
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 17, 2024
26f1608
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 17, 2024
dc269ce
Update package.json
BhavikChhabria Apr 17, 2024
29e701f
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 17, 2024
f898547
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 17, 2024
c7766cc
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 17, 2024
60ece65
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 17, 2024
9b4c762
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 17, 2024
c640423
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 17, 2024
5a9cca7
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 17, 2024
963dc0c
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 17, 2024
abfeafe
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 17, 2024
70dd398
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 17, 2024
dc30724
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 17, 2024
4408c1f
Create .npmrc
BhavikChhabria Apr 17, 2024
e51e1e3
Update .npmrc
BhavikChhabria Apr 17, 2024
e1cd128
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 17, 2024
ba3a033
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 17, 2024
c94978b
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 17, 2024
b0bb29f
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 18, 2024
3b1c98d
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 18, 2024
bdbbef9
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 18, 2024
7b8cb20
Update package.json
BhavikChhabria Apr 18, 2024
57eae76
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 18, 2024
497c417
Update .npmrc
BhavikChhabria Apr 18, 2024
9f4a620
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 18, 2024
ed47d70
Update .npmrc
BhavikChhabria Apr 18, 2024
d198232
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 18, 2024
4a9061b
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 18, 2024
95f4598
Update package.json
BhavikChhabria Apr 18, 2024
bb04d08
Update .npmrc
BhavikChhabria Apr 19, 2024
8df93b3
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 19, 2024
7790d7f
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 19, 2024
fb45b46
Update .npmrc
BhavikChhabria Apr 19, 2024
b1109f2
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 19, 2024
3fecf92
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 21, 2024
7d7cf58
Update .npmrc
BhavikChhabria Apr 21, 2024
10114f2
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 21, 2024
8f1bb18
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 21, 2024
31ed738
Update .npmrc
BhavikChhabria Apr 21, 2024
5e413ee
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 21, 2024
dca6bdb
Create npm-publish.yml
BhavikChhabria Apr 21, 2024
cb33740
Update package.json
BhavikChhabria Apr 22, 2024
12ff1c6
Update .npmrc
BhavikChhabria Apr 22, 2024
68870d1
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 22, 2024
fb27172
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria Apr 22, 2024
5fe4072
Update azure-pipelines.yml
BhavikChhabria May 13, 2024
c3908c9
Update azure-pipelines.yml
BhavikChhabria May 13, 2024
0ccd2e5
Update azure-pipelines.yml
BhavikChhabria May 13, 2024
3436ac1
Update .npmrc
BhavikChhabria May 13, 2024
8650625
Update azure-pipelines.yml
BhavikChhabria May 13, 2024
d6fd9bf
Delete azure-pipelines.yml
BhavikChhabria May 13, 2024
deb7ee0
Set up CI with Azure Pipelines
BhavikChhabria May 14, 2024
796e688
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria May 14, 2024
5a32b02
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria May 14, 2024
d1921c7
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria May 14, 2024
641c34d
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria May 14, 2024
a058000
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria May 14, 2024
7b44ca1
Update .npmrc
BhavikChhabria May 14, 2024
54b5486
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria May 14, 2024
0a015b2
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria May 14, 2024
83775de
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria May 14, 2024
aba2476
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria May 14, 2024
0f590b3
Update .npmrc
BhavikChhabria May 14, 2024
a4985eb
Update azure-pipelines.yml
BhavikChhabria May 14, 2024
7e60938
Delete azure-pipelines.yml
BhavikChhabria May 14, 2024
b878d95
Delete .npmrc
BhavikChhabria May 14, 2024
6908929
Set up CI with Azure Pipelines
BhavikChhabria May 14, 2024
bd0f99c
Update README.md
BhavikChhabria May 14, 2024
ac01f49
Update package.json
BhavikChhabria May 14, 2024
593728b
Update package.json
BhavikChhabria May 14, 2024
812ac32
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria May 14, 2024
82f5499
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria May 14, 2024
a865dc2
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria May 14, 2024
5ea2e55
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria May 14, 2024
5de8d81
Update README.md
BhavikChhabria May 14, 2024
fc3f1a1
Update README.md
BhavikChhabria May 14, 2024
a06cce9
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria May 14, 2024
2d9b273
B&T trigger
BhavikChhabria May 14, 2024
524b8db
Update azure-pipelines.yml for Azure Pipelines
BhavikChhabria May 14, 2024
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
33 changes: 33 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages

name: Node.js Package

on:
release:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm ci
- run: npm test

publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ Its a good example of learning react and creating something production ready!
## Want to build this too?

Watch the video where we build Microsoft Teams [here](https://www.youtube.com/watch?v=jcOKU9f86XE)
hyyy
hello
hiii
46 changes: 46 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
trigger:
tags:
include:
- '*'
branches:
exclude:
- main

pool: Default

steps:
- task: NodeTool@0
inputs:
versionSpec: '10.x'
displayName: 'Install Node.js'

- task: Npm@1
inputs:
command: 'install'
- task: Npm@1
inputs:
command: 'custom'
customCommand: 'build'
displayName: Build

- bash: |
# Check if the change is a tag or branch
if [ "$(git tag --contains $Build.SourceVersion)" ]; then
tag=$(git describe --tags --abbrev=0)
sed -i "s/\"version\": \".*\"/\"version\": \"$tag\"/" package.json
echo "tag is $tag"
else
# If it's a branch change, set the version to "1.0.0-CI-{BuildID}"
version="1.0.0-CI-$(Build.BuildId)"
# Update the version number in package.json
sed -i "s/\"version\": \".*\"/\"version\": \"$version\"/" package.json
echo "version is $version"
fi
displayName: 'Set artifact version'

- task: Npm@1
inputs:
command: 'publish'
publishRegistry: 'useFeed'
publishFeed: 'cf1ee12f-274b-4fe1-8aed-2625305234cc/1ea8357d-c506-473f-a254-b62332c4d26f'
displayName: Publish
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
{
"name": "chat_app_project",
"version": "0.1.0",
"private": true,
"version": "1.0.0",
"engines": {
"npm": "latest"
},
"dependencies": {
"@ant-design/icons": "^4.3.0",
"@testing-library/jest-dom": "^5.11.9",
Expand Down