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: