diff --git a/.github/workflows/shared-component-publish.yaml b/.github/workflows/shared-component-publish.yaml index be8abe3760..d226d2e999 100644 --- a/.github/workflows/shared-component-publish.yaml +++ b/.github/workflows/shared-component-publish.yaml @@ -21,8 +21,10 @@ jobs: cache: "yarn" node-version-file: ".node-version" registry-url: "https://registry.npmjs.org" - env: - NODE_AUTH_TOKEN: ${{ secrets.ELEMENT_NPM_TOKEN }} + + # Ensure npm 11.5.1 or later is installed + - name: Update npm + run: npm install -g npm@latest - name: 🛠️ Setup # When running `install` it also calls the `prepare` step which generates