Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

Commit 2319b07

Browse files
Publish in NPM version without build number (#247)
Co-authored-by: Tom <[email protected]>
1 parent 54dbe24 commit 2319b07

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,9 @@ jobs:
2323
- name: Publish npm package
2424
env:
2525
NPM_TOKEN: ${{ secrets.SONARTECH_NPM_TOKEN }}
26-
run: npm publish $PACKAGE-$RELEASE_TAG.tgz
27-
26+
REPOX_QA_DEPLOYER_API_KEY: ${{ secrets.REPOX_QA_DEPLOYER_API_KEY }}
27+
run: |
28+
npm publish
29+
curl -urepox-qa-deployer:${REPOX_QA_DEPLOYER_API_KEY} https://repox.jfrog.io/artifactory/api/npm/auth > .npmrc
30+
npm publish --registry https://repox.jfrog.io/artifactory/api/npm/sonarsource-npm-public/
31+

0 commit comments

Comments
 (0)