diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 2599706..cbe61fa 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -24,10 +24,6 @@ jobs: - uses: aboutbits/github-actions-base/git-setup@v2 - uses: aboutbits/github-actions-node/configure-github-npm-registry-access@v3 - uses: aboutbits/github-actions-node/configure-github-npm-registry-organization@v3 - - name: Configure npm for GitHub Packages - run: | - echo "@aboutbits:registry=https://npm.pkg.github.com" >> ~/.npmrc - echo "//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}" >> ~/.npmrc - uses: aboutbits/github-actions-node/build-and-publish-package@v3 id: package with: @@ -39,4 +35,8 @@ jobs: - uses: aboutbits/github-actions-base/github-create-release@v2 with: tag-name: 'v${{ steps.package.outputs.version }}' - generate-release-notes: 'true' + release-description: | + ```bash + npm install @${{ env.GITHUB_REPOSITORY }}@^${{ steps.package.outputs.version }} + ``` + release-notes-generation: 'true'