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 873c435
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/test-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,13 @@ 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 }}
HUSKY: 0
run: |
file=$(find -name "*.tgz" -printf "%f")
npm publish --dry-run "$file"
npm publish --dry-run --ignore-scripts
# - name: Promote npm package
# env:
Expand Down

0 comments on commit 873c435

Please sign in to comment.