diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index e3e8ff912..de94db533 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -21,6 +21,9 @@ jobs: pull-requests: write steps: - uses: Automattic/vip-actions/npm-publish@c8022b66e78461df4f802b935dc0dbb8399f96bc # v0.7.4 + env: + # npm@12 no longer supports npm-shrinkwrap.json with npm ci in this repository. + NPM_CONFIG_TAG: next-11 with: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} USE_TRUSTED_PUBLISHING: 'true' @@ -57,6 +60,9 @@ jobs: pull-requests: write steps: - uses: Automattic/vip-actions/npm-publish-prerelease@c8022b66e78461df4f802b935dc0dbb8399f96bc # v0.7.4 + env: + # npm@12 no longer supports npm-shrinkwrap.json with npm ci in this repository. + NPM_CONFIG_TAG: next-11 with: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} USE_TRUSTED_PUBLISHING: 'true'