File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -912,14 +912,17 @@ jobs:
912912 - e2e_hosting
913913 - resolve_inputs
914914 runs-on : ubuntu-latest
915+ environment : release
916+ permissions :
917+ id-token : write
915918 steps :
916919 - uses : actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # version 4.1.4
917920 - uses : ./.github/actions/setup_node
918921 with :
919- node-version : 18
922+ node-version : 24
920923 - uses : ./.github/actions/restore_build_cache
921924 with :
922- node-version : 18
925+ node-version : 24
923926 cdk-lib-version : ${{ needs.resolve_inputs.outputs.cdk_lib_version }}
924927 - id : is_version_packages_commit
925928 run : echo "is_version_packages_commit=$(npx tsx scripts/is_version_packages_commit.ts)" >> "$GITHUB_OUTPUT"
@@ -932,7 +935,7 @@ jobs:
932935 publish : npm run publish
933936 env :
934937 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
935- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
938+ NPM_TRUSTED_PUBLISHER : ' true '
936939 - name : Update hotfix branch
937940 if : ${{ steps.changeset_publish.outputs.published == 'true' && github.ref_name == 'main' }}
938941 run : git push origin main:hotfix --force
You can’t perform that action at this time.
0 commit comments