Skip to content

Commit

Permalink
try using the extracted files instead of the tgz after version update
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-paulger-sonarsource committed Aug 1, 2024
1 parent b3841b1 commit 036bd99
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/test-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,12 @@ jobs:
working-directory: ${{ steps.local_repo.outputs.dir }}/package
run: cat package.json

- name: Repackage .tgz
working-directory: ${{ steps.local_repo.outputs.dir }}/package
run: npm pack

- name: Publish npm package to npmjs
working-directory: ${{ steps.local_repo.outputs.dir }}
working-directory: ${{ steps.local_repo.outputs.dir }}/package
env:
NPM_TOKEN: ${{ fromJSON(steps.secrets.outputs.vault).npm_token }}
run: |
file=$(find -name "*.tgz" -printf "%f")
npm publish --dry-run "$file"
npm publish --dry-run
# - name: Promote npm package
# env:
Expand Down

0 comments on commit 036bd99

Please sign in to comment.