diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 8d5f5bd..804dfd4 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -19,6 +19,9 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 20 + # Ensure npm 11.5.1 or later is installed + - name: Update npm + run: npm install -g npm@latest - run: npm ci - run: npm test - run: npm publish