diff --git a/.github/workflows/publish-npm-nightly.yml b/.github/workflows/publish-npm-nightly.yml index a1f4f7046d501..4793378cf4287 100644 --- a/.github/workflows/publish-npm-nightly.yml +++ b/.github/workflows/publish-npm-nightly.yml @@ -74,7 +74,7 @@ jobs: run: echo "//registry.npmjs.com/:_authToken=${{ secrets.NPM_PUBLISH_TOKEN }}" >> ./.npmrc - name: Update npm - run: npm install npm@latest -g + run: npm install npm@9 -g - name: Set Nightly run: sh ./scripts/nightly.sh diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index ab1a9c9b3852b..deace57840a88 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -73,7 +73,7 @@ jobs: run: echo "//registry.npmjs.com/:_authToken=${{ secrets.NPM_PUBLISH_TOKEN }}" >> ./.npmrc - name: Update npm - run: npm install npm@latest -g + run: npm install npm@9 -g - name: Build&publish run: sh ./scripts/publish.sh