From 1edce06f564e34cec3f7053e71c1cad6f1bd6b55 Mon Sep 17 00:00:00 2001 From: Zakary Timson Date: Fri, 15 Dec 2023 04:14:00 +0000 Subject: [PATCH] Update npm/publish/action.yaml --- npm/publish/action.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/npm/publish/action.yaml b/npm/publish/action.yaml index dc764f6..368d8d3 100644 --- a/npm/publish/action.yaml +++ b/npm/publish/action.yaml @@ -32,6 +32,7 @@ runs: TRIMMED=$(echo "${{inputs.registry}}" | sed s%http:%% | sed s%https:%%) echo "_authToken=${{inputs.token}}" > .npmrc echo "registry=${{inputs.registry}}" >> .npmrc + npm publish fi shell: sh @@ -39,4 +40,4 @@ runs: if: ${{github.ref_name}} == ${{inputs.branch}} uses: docker://node with: - args: /bin/bash -c "npm publish" + args: /bin/bash -c 'echo "_authToken=${{inputs.token}}" > .npmrc && echo "registry=${{inputs.registry}}" >> .npmrc && npm publish'