From 02a913aa1f79c286f133cae280901fb257bc7093 Mon Sep 17 00:00:00 2001 From: RNEvok <81921589+RNEvok@users.noreply.github.com> Date: Tue, 2 Jul 2024 01:16:19 +0300 Subject: [PATCH] Publish workflow update --- .github/workflows/npmPublish.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/npmPublish.yml b/.github/workflows/npmPublish.yml index a0ef482..64d7fbd 100644 --- a/.github/workflows/npmPublish.yml +++ b/.github/workflows/npmPublish.yml @@ -32,6 +32,15 @@ jobs: run: cp ./index.d.ts ./build - name: Update build GitHub README.md file run: cp ./README.md ./build + - name: Upload build artifact + uses: actions/upload-artifact@v3 + with: + path: build + name: codebud-build + - name: Download build artifact + uses: actions/download-artifact@v3 + with: + name: codebud-build - name: Go to build folder & publish new version to NPM run: cd build && npm version --no-git-tag-version $(npm view @appklaar/codebud@latest version) && npm version --no-git-tag-version ${{ env.NPM_VERSION_MODIFIER }} && npm publish env: