Skip to content

Commit 4c83e9a

Browse files
committed
npm publish: try explicit version
1 parent a3583a7 commit 4c83e9a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/push_dist_to_npm.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,12 @@ jobs:
2424
env:
2525
NODE_AUTH_TOKEN: $ACTIONS_ID_TOKEN_REQUEST_TOKEN
2626
run: |
27-
npm install -g npm@latest
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
2829
npm --version
2930
npm whoami
3031
#npm version --git-tag-version=false 0.0.0-$(git rev-parse HEAD)
31-
npm version --git-tag-version=false 0.0.0-tmp1
32+
npm version --git-tag-version=false 0.0.1
3233
# limit distribution to the dist folder (just for this build), and set package name
3334
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));"
3435
npm ci

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"type": "git",
66
"url": "git+https://github.com/graphhopper/graphhopper-maps.git"
77
},
8-
"version": "0.7",
8+
"version": "0.0.1",
99
"license": "Apache-2.0",
1010
"scripts": {
1111
"format": "prettier --write \"src/**/*.{css,ts,tsx,html}\" \"test/**/*.{js,ts,jsx,tsx}\" \"jest.config.js\" \"webpack.*.js\" \"config.js\"",

0 commit comments

Comments
 (0)