From c7789f1ce63fca41f517e8d10860849b2b30883f Mon Sep 17 00:00:00 2001 From: "Juan Picado @jotadeveloper" Date: Wed, 13 Feb 2019 14:14:23 +0100 Subject: [PATCH 1/4] fix: debugging with all ports --- .vscode/launch.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index e8d07e068..90d61a19a 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -10,6 +10,7 @@ "name": "CLI Babel Registry", "stopOnEntry": false, "program": "${workspaceFolder}/debug/bootstrap.js", + "args": ["-l", "0.0.0.0:4873"], "env": { "BABEL_ENV": "registry" }, @@ -71,7 +72,8 @@ "name": "Verdaccio Compiled", "preLaunchTask": "npm: code:build", "program": "${workspaceRoot}/bin/verdaccio", + "args": ["-l", "0.0.0.0:4873"], "console": "integratedTerminal" } ] -} \ No newline at end of file +} From b906d0aa998c61a746620a56807156c97e09e5ec Mon Sep 17 00:00:00 2001 From: "Juan Picado @jotadeveloper" Date: Thu, 14 Feb 2019 09:14:20 +0100 Subject: [PATCH 2/4] chore: test GitHub actions --- .github/main.workflow | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .github/main.workflow diff --git a/.github/main.workflow b/.github/main.workflow new file mode 100644 index 000000000..42de57c5c --- /dev/null +++ b/.github/main.workflow @@ -0,0 +1,9 @@ +workflow "New workflow" { + on = "push" + resolves = ["Docker build health check"] +} + +action "Docker build health check" { + uses = "actions/docker/cli@8cdf801b322af5f369e00d85e9cf3a7122f49108" + args = "build ." +} From f2f1be927b9857da0767ac20ab959d5a64ea274c Mon Sep 17 00:00:00 2001 From: "Juan Picado @jotadeveloper" Date: Fri, 15 Feb 2019 15:00:54 +0100 Subject: [PATCH 3/4] Update main.workflow --- .github/main.workflow | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/main.workflow b/.github/main.workflow index 42de57c5c..efcea9031 100644 --- a/.github/main.workflow +++ b/.github/main.workflow @@ -1,9 +1,18 @@ workflow "New workflow" { on = "push" - resolves = ["Docker build health check"] + resolves = [ + "Docker build health check", + "Test Publish Verdaccio", + ] } action "Docker build health check" { uses = "actions/docker/cli@8cdf801b322af5f369e00d85e9cf3a7122f49108" args = "build ." } + +action "Test Publish Verdaccio" { + uses = "verdaccio/github-actions/publish@master", + needs = ["Docker build health check"] + args = "-ddd" +} From 321ee197194301f8d2997b4b1b918d8c90a258cf Mon Sep 17 00:00:00 2001 From: "Juan Picado @jotadeveloper" Date: Fri, 15 Feb 2019 15:22:01 +0100 Subject: [PATCH 4/4] chore: remove publishConfig --- package.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/package.json b/package.json index 754765999..7e082d400 100644 --- a/package.json +++ b/package.json @@ -176,9 +176,6 @@ "npm": ">=3" }, "preferGlobal": true, - "publishConfig": { - "registry": "https://registry.npmjs.org/" - }, "husky": { "hooks": { "pre-commit": "lint-staged && commitlint -e $GIT_PARAMS"