From f5e4cc18de168b9712e88f2e753debfa5c5086a3 Mon Sep 17 00:00:00 2001 From: "Juan Picado @jotadeveloper" Date: Fri, 15 Feb 2019 15:55:07 +0100 Subject: [PATCH 1/3] Update publish.sh --- scripts/publish.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/publish.sh b/scripts/publish.sh index 1380a2126..620586ec7 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -7,4 +7,4 @@ lastTag=$(git describe --tags $(git rev-list --tags --max-count=1)) echo "Bumping version to new tag: ${lastTag}" # Publish to NPM -npm publish +npm publish --registry https://registry.npmjs.org/ From 25a3338c3e6c0abb3afab93c0ad6797d1fa1801c Mon Sep 17 00:00:00 2001 From: "Juan Picado @jotadeveloper" Date: Fri, 15 Feb 2019 15:55:47 +0100 Subject: [PATCH 2/3] chore: remove publishConfig It is hard to override with --registry using publishConfig --- package.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/package.json b/package.json index 8634bcf91..9f4a2fdd6 100644 --- a/package.json +++ b/package.json @@ -182,9 +182,6 @@ "npm": ">=3" }, "preferGlobal": true, - "publishConfig": { - "registry": "https://registry.npmjs.org/" - }, "husky": { "hooks": { "pre-commit": "npm run lint" From d336505b694d3f0e1ac860ff66f5f646db3ce864 Mon Sep 17 00:00:00 2001 From: "Juan Picado @jotadeveloper" Date: Fri, 15 Feb 2019 17:17:41 +0100 Subject: [PATCH 3/3] Update main.workflow --- .github/main.workflow | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/main.workflow b/.github/main.workflow index efcea9031..66ba045e2 100644 --- a/.github/main.workflow +++ b/.github/main.workflow @@ -12,7 +12,7 @@ action "Docker build health check" { } action "Test Publish Verdaccio" { - uses = "verdaccio/github-actions/publish@master", + uses = "verdaccio/github-actions/publish@v0.1.0" needs = ["Docker build health check"] args = "-ddd" }