From 036bd996d8384be8a2bcb70c68aa914c5f4b9d81 Mon Sep 17 00:00:00 2001 From: Lucas Paulger Date: Thu, 1 Aug 2024 18:17:24 +0300 Subject: [PATCH] try using the extracted files instead of the tgz after version update --- .github/workflows/test-release.yaml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test-release.yaml b/.github/workflows/test-release.yaml index f960d92..b728c25 100644 --- a/.github/workflows/test-release.yaml +++ b/.github/workflows/test-release.yaml @@ -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: