Skip to content

Commit

Permalink
chore(publish and npm): run build before publishing and add repo url
Browse files Browse the repository at this point in the history
  • Loading branch information
khaledosama999 committed Feb 25, 2021
1 parent 606a104 commit 4cc37db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
node-version: ${{ matrix.node-version }}

- run: npm i
- run: npm run build
- id: publish
uses: JS-DevTools/npm-publish@v1
with:
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"name": "binary-heap.js",
"version": "1.0.0",
"description": "A package for binary heap (heap tree) data structure",
"repository": {
"url": "https://github.com/khaledosama999/priority-queue"
},
"main": "./build/index.js",
"files": [
"build"
Expand Down

0 comments on commit 4cc37db

Please sign in to comment.