Skip to content

Commit

Permalink
Fix release action (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
vilchik-elena committed Jul 2, 2021
1 parent f62edbb commit 87df5c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Expand Up @@ -17,14 +17,13 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 10
- name: Download artifacts
run: curl -o $PACKAGE-$RELEASE_TAG.tgz $REPOX_URL/$NPM_REPOSITORY/$SCOPE$PACKAGE/-/$SCOPE$PACKAGE-$RELEASE_TAG.tgz
- run: mv .github/workflows/.npmrc .npmrc
- name: Publish npm package
env:
NPM_TOKEN: ${{ secrets.SONARTECH_NPM_TOKEN }}
REPOX_QA_DEPLOYER_API_KEY: ${{ secrets.REPOX_QA_DEPLOYER_API_KEY }}
run: |
npm install
npm publish
curl -urepox-qa-deployer:${REPOX_QA_DEPLOYER_API_KEY} https://repox.jfrog.io/artifactory/api/npm/auth > .npmrc
npm publish --registry https://repox.jfrog.io/artifactory/api/npm/sonarsource-npm-public/
Expand Down

0 comments on commit 87df5c9

Please sign in to comment.