From c6a80b7107557fece568a7dea5a18943d8d1ed1d Mon Sep 17 00:00:00 2001 From: nicobo Date: Thu, 6 Jul 2023 22:48:38 +0200 Subject: [PATCH] ~ fixing github npm publish --- .github/workflows/npm-github.yml | 4 +++- package.json | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/npm-github.yml b/.github/workflows/npm-github.yml index 2da74f2..2e4dbe1 100644 --- a/.github/workflows/npm-github.yml +++ b/.github/workflows/npm-github.yml @@ -3,6 +3,8 @@ name: Publish package to GitHub Packages on: push: + branches: + - master tags: - 'v*.*.*' @@ -24,6 +26,6 @@ jobs: scope: '@nicolabs' - run: npm ci - run: npm test - - run: npm publish --provenance --access public + - run: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/package.json b/package.json index d1772cb..a5caf12 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,10 @@ { "name": "musiccast-repairkit", "version": "2.0.0", + "repository": { + "type": "git", + "url": "https://github.com/nicolabs/musiccast-repairkit.git" + }, "main": "index.js", "author": "nicobo (https://www.nicolabs.net/people/nicobo)", "license": "MIT",