From fc41b5d9dc839f46e3d64168ebee3aaaebe5c935 Mon Sep 17 00:00:00 2001 From: nx673747 Date: Tue, 12 Nov 2024 17:12:55 +0100 Subject: [PATCH 1/2] chore: update npm configuration during publishing Signed-off-by: nx673747 --- .github/workflows/zowe-cli-plugin.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/zowe-cli-plugin.yml b/.github/workflows/zowe-cli-plugin.yml index 648f70e7d8..8db75b30a2 100644 --- a/.github/workflows/zowe-cli-plugin.yml +++ b/.github/workflows/zowe-cli-plugin.yml @@ -43,6 +43,12 @@ jobs: npm run build npm version ${{ github.event.inputs.scope || env.DEFAULT_SCOPE }} + - name: Update npm configuration + run: | + cd zowe-cli-id-federation-plugin + if [ -e .npmrc ]; then + rm -f .npmrc + - uses: zowe-actions/octorelease@v1 with: working-dir: zowe-cli-id-federation-plugin From c01fc11486ce68cf83d196a38aca0c271c24b682 Mon Sep 17 00:00:00 2001 From: nx673747 Date: Tue, 12 Nov 2024 17:20:44 +0100 Subject: [PATCH 2/2] closing if statement Signed-off-by: nx673747 --- .github/workflows/zowe-cli-plugin.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/zowe-cli-plugin.yml b/.github/workflows/zowe-cli-plugin.yml index 8db75b30a2..a2a530f433 100644 --- a/.github/workflows/zowe-cli-plugin.yml +++ b/.github/workflows/zowe-cli-plugin.yml @@ -48,6 +48,7 @@ jobs: cd zowe-cli-id-federation-plugin if [ -e .npmrc ]; then rm -f .npmrc + fi - uses: zowe-actions/octorelease@v1 with: