diff --git a/.github/workflows/make-release.yml b/.github/workflows/make-release.yml index 5736b02a63..bbe48ad833 100644 --- a/.github/workflows/make-release.yml +++ b/.github/workflows/make-release.yml @@ -65,7 +65,7 @@ jobs: uses: aws-powertools/actions/.github/actions/cached-node-modules@29979bc5339bf54f76a11ac36ff67701986bb0f0 - name: Publish to npm run: | - NPM_CONFIG_PROVENANCE=true npx lerna publish from-package --git-head ${{ github.sha }} --yes + npm publish --workspaces --provenance - name: Set release version id: set-release-version run: | diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index 3ecdcc04e8..d6a18e26a0 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -50,4 +50,4 @@ jobs: uses: aws-powertools/actions/.github/actions/cached-node-modules@29979bc5339bf54f76a11ac36ff67701986bb0f0 - name: Publish to npm run: | - NPM_CONFIG_PROVENANCE=true npx lerna publish from-package --force-publish ${{ github.event.input.package }} --git-head ${{ github.sha }} --yes + npm publish --workspace ${{ github.event.input.package }} --provenance