From 4cc37dbd5dfa2d7400d311a0704382618f6154b7 Mon Sep 17 00:00:00 2001 From: khaledosama999 Date: Thu, 25 Feb 2021 15:44:11 +0200 Subject: [PATCH] chore(publish and npm): run build before publishing and add repo url --- .github/workflows/publish.yml | 1 + package.json | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 81793a7..d0320b2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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: diff --git a/package.json b/package.json index 293a1a4..4660e80 100644 --- a/package.json +++ b/package.json @@ -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"