Explorar el Código

chore: Update publish workflow to use latest npm version

Michael Bromley hace 2 meses
padre
commit
c1a144e9f7
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      .github/workflows/publish_to_npm.yml

+ 3 - 0
.github/workflows/publish_to_npm.yml

@@ -17,6 +17,9 @@ jobs:
         with:
           node-version: '22.x'
           registry-url: 'https://registry.npmjs.org'
+      # Ensure npm 11.5.1 or later is installed
+      - name: Update npm
+        run: npm install -g npm@latest
       # Install dependencies without modifying package-lock.json file
       - run: npm install --no-save
       - run: npm run build