Skip to content

Commit ae8492a

Browse files
committed
npm publish: npm whoami used for debugging made the problems
1 parent 98b484b commit ae8492a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/push_dist_to_npm.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,8 @@ jobs:
2424
env:
2525
NODE_AUTH_TOKEN: $ACTIONS_ID_TOKEN_REQUEST_TOKEN
2626
run: |
27-
# workaround only necessary for older node versions but we have 24.12.0 which has 11.6.2 (must be 11.5.1 or later)
28-
# npm install -g npm@latest
2927
npm --version
30-
#npm version --git-tag-version=false 0.0.0-$(git rev-parse HEAD)
28+
npm version --git-tag-version=false 0.0.0-$(git rev-parse HEAD)
3129
# limit distribution to the dist folder (just for this build), and set package name
3230
node -e "const packageJson=require('./package.json'); packageJson.files=['dist/']; packageJson.name='@graphhopper/graphhopper-maps-bundle'; require('fs').writeFileSync('package.json', JSON.stringify(packageJson, null, 4));"
3331
npm ci

0 commit comments

Comments
 (0)