diff --git a/.github/workflows/onRelease.yml b/.github/workflows/onRelease.yml index 588957c33..75c49a713 100644 --- a/.github/workflows/onRelease.yml +++ b/.github/workflows/onRelease.yml @@ -22,9 +22,13 @@ jobs: - uses: salesforcecli/github-workflows/.github/actions/getPreReleaseTag@main id: distTag npm: + permissions: + id-token: write + contents: read uses: salesforcecli/github-workflows/.github/workflows/npmPublish.yml@main needs: [getDistTag] with: + trustedPublishing: true tag: ${{ needs.getDistTag.outputs.tag || 'latest' }} githubTag: ${{ github.event.release.tag_name || inputs.tag }} diff --git a/package.json b/package.json index ada36441e..9ffbf61c6 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "node": ">=22.0.0" }, "dependencies": { - "@salesforce/core": "^9.1.11", + "@salesforce/core": "^9.2.2", "@salesforce/kit": "^4.0.0", "@salesforce/ts-types": "^3.2.0", "@salesforce/types": "^1.6.0", diff --git a/yarn.lock b/yarn.lock index 6cfa31fdf..ba8ed11a1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -845,10 +845,10 @@ ts-retry-promise "^0.8.1" zod "^4.1.12" -"@salesforce/core@^9.1.11": - version "9.1.11" - resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-9.1.11.tgz#dd2226ac1d67434575aac92eaa3ad9c1a12dcc2e" - integrity sha512-EE4oGYsoKThank4dQ1mVIzJjS9yP6C6s7JzKDx+ki8AFAxgpposzLc6GYwZZq1tS0XaOfBL2x+8RrgEgZvXwnw== +"@salesforce/core@^9.2.2": + version "9.2.2" + resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-9.2.2.tgz#e20561e763fef210c8a9f585a2fea84f7606e63e" + integrity sha512-7D4VqZuCzYbbrW5Yr4ECbVb3+fUa//YG7UMmWGBy3IwI/f65U5NuZ6ZTBOYuC0AM2/LXF97j2jASf5WubQVERg== dependencies: "@jsforce/jsforce-node" "^3.10.24" "@salesforce/kit" "^4.0.0"