Skip to content

Commit

Permalink
changes made
Browse files Browse the repository at this point in the history
  • Loading branch information
NagendraPVS committed Apr 18, 2024
1 parent ebae5d5 commit aaebde7
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 5 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: "CI/CD NPM"

on:
push:
branches: [main]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: node
uses: actions/setup-node@v2
with:
node-version: 20
registry-url: https://registry.npmjs.org
- name : "install_dependencies"
run: npm install
working-directory: ./
- name : "check build"
run: npm pack --dry-run
working-directory: ./
- name : "versioning"
run: npm version patch
working-directory: ./
- name : "build"
run: npm run build
working-directory: ./
- name : "publish"
run: npm publish --access public
working-directory: ./
env:
NODE_AUTH_TOKEN: ${{secrets.PVSCREATIONS}}
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ PracticalMath.euclideanDistance({ point1: {x:1,y:2,z:3}, point2: {x:3,y:4,z:2} }
```
# 2.Available Functions
#####* findBestFitLine
#####* euclideanDistance
#####* calculateCosineAngleABC
#####* midPoint
#####* distancePointToLine
##### * findBestFitLine
##### * euclideanDistance
##### * calculateCosineAngleABC
##### * midPoint
##### * distancePointToLine

# Future Scopes
* <b> Evolve </b>: Develop with more usefull functions
Expand Down

0 comments on commit aaebde7

Please sign in to comment.