Skip to content

Commit

Permalink
chore: set npm configuration during release publishing
Browse files Browse the repository at this point in the history
Signed-off-by: nx673747 <[email protected]>
  • Loading branch information
nx673747 committed Nov 12, 2024
1 parent 82414a4 commit e28f79b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/zowe-cli-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,12 @@ jobs:
npm run build
npm version ${{ github.event.inputs.scope || env.DEFAULT_SCOPE }}
- name: Configure npm
run: |
cd zowe-cli-id-federation-plugin
echo "registry=https://registry.npmjs.org/" > .npmrc
echo "@zowe:registry=https://zowe.jfrog.io/zowe/api/npm/npm-release/" >> .npmrc
- uses: zowe-actions/octorelease@master
with:
working-dir: zowe-cli-id-federation-plugin
Expand Down
2 changes: 0 additions & 2 deletions zowe-cli-id-federation-plugin/.npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
registry=https://registry.npmjs.org/
@zowe:registry=https://zowe.jfrog.io/zowe/api/npm/npm-release/

0 comments on commit e28f79b

Please sign in to comment.