8282 target : i686-pc-windows-msvc
8383 - host : windows-latest
8484 target : aarch64-pc-windows-msvc
85- - host : windows-latest
85+ - host : windows-latest
8686 target : x86_64-pc-windows-gnu
8787 msystem : ucrt64
8888 toolchain : ucrt-x86_64
@@ -343,23 +343,23 @@ jobs:
343343 - arch : armv7
344344 distro : ubuntu_latest
345345 target : armv7-unknown-linux-gnueabihf
346- # There is a bug that hangs the build when running npm
347- # - arch: armv7
348- # distro: alpine_latest
349- # target: armv7-unknown-linux-musleabihf
350- # This one has become very flaky as of late
351- # - arch: ppc64le
352- # distro: ubuntu_latest
353- # target: powerpc64le-unknown-linux-gnu
354- # use-nvm: true
346+ # There is a bug that hangs the build when running npm
347+ # - arch: armv7
348+ # distro: alpine_latest
349+ # target: armv7-unknown-linux-musleabihf
350+ # This one has become very flaky as of late
351+ # - arch: ppc64le
352+ # distro: ubuntu_latest
353+ # target: powerpc64le-unknown-linux-gnu
354+ # use-nvm: true
355355 - arch : s390x
356356 distro : ubuntu_latest
357357 target : s390x-unknown-linux-gnu
358358 use-nvm : true
359- # I could not find a way to install Node without compiling from source
360- # - arch: riscv64
361- # distro: ubuntu_latest
362- # target: riscv64gc-unknown-linux-gnu
359+ # I could not find a way to install Node without compiling from source
360+ # - arch: riscv64
361+ # distro: ubuntu_latest
362+ # target: riscv64gc-unknown-linux-gnu
363363 runs-on : ubuntu-latest
364364 timeout-minutes : 120
365365 steps :
@@ -489,6 +489,7 @@ jobs:
489489 pull-requests : write # for writing comments
490490 issues : write # for writing comments
491491 contents : write # for creating a release
492+ id-token : write # Required for OIDC
492493 name : Publish
493494 runs-on : ubuntu-latest
494495 timeout-minutes : 15
@@ -507,8 +508,10 @@ jobs:
507508 - name : Setup Node
508509 uses : actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
509510 with :
510- node-version : ${{ matrix.node }}
511- check-latest : true
511+ node-version : 24
512+ registry-url : ' https://registry.npmjs.org'
513+ - name : Update npm for publishing
514+ run : npm install -g npm@latest
512515 - name : Install and Cache Node Dependencies
513516 uses : ./.github/actions/install-and-cache-node-deps
514517 - name : Download all artifacts
@@ -526,12 +529,10 @@ jobs:
526529 if git --no-pager log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+$";
527530 then
528531 echo "Publishing regular release"
529- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
530532 npm publish --access public
531533 elif git --no-pager log -1 --pretty=%B | grep "^[0-9]\+\.[0-9]\+\.[0-9]\+-[0-9]\+$";
532534 then
533535 echo "Publishing beta release"
534- echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
535536 npm publish --tag beta --access public
536537 else
537538 echo "Not a release, skipping publish"
0 commit comments