Skip to content

Commit bce841f

Browse files
authored
Print NPM version while packaging for debugging purposes (#573)
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
1 parent af30525 commit bce841f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/package.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,10 @@ jobs:
190190
with:
191191
node-version: '22.x'
192192
registry-url: 'https://registry.npmjs.org'
193-
- name: Publish to NPM
194-
run: sudo npm install --global npm@latest && make npm-pack npm-publish
193+
- run: sudo npm install --global npm@11.6.4
194+
- run: npm --version
195+
- run: npm whoami
196+
- run: make npm-pack npm-publish
195197

196198
publish-pypi:
197199
needs: publish

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ node_modules: package.json package-lock.json
4141
$(NPM) ci
4242

4343
npm-pack: node_modules .always
44+
$(NPM) --version
4445
$(CMAKE) -P cmake/fetch-github-releases.cmake
4546
$(NODE) npm/cli.js
4647
$(NODE) node_modules/eslint/bin/eslint.js npm/*.js npm/*.mjs

0 commit comments

Comments
 (0)