Skip to content

Commit 286406d

Browse files
committed
npm publish
1 parent a4e24f7 commit 286406d

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.github/workflows/push_dist_to_npm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ jobs:
1919
- name: Setup Node.js
2020
uses: actions/setup-node@v4
2121
with:
22-
node-version: v20.14.0
22+
node-version: v24.12.0
2323

2424
- name: Build
2525

2626
run: |
27-
npm version --git-tag-version=false 0.0.0-$(git rev-parse HEAD)
2827
npm whoami
28+
npm version --git-tag-version=false 0.0.0-$(git rev-parse HEAD)
2929
# limit distribution to the dist folder (just for this build), and set package name
3030
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));"
3131
npm ci

.github/workflows/test_and_build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,15 @@ on: push
33

44
jobs:
55
test_and_build:
6-
runs-on: ubuntu-24.04
6+
runs-on: ubuntu-latest
77
steps:
88
- name: Checkout
99
uses: actions/checkout@v4
1010

1111
- name: Setup Node.js
1212
uses: actions/setup-node@v4
1313
with:
14-
registry-url: https://registry.npmjs.org/
15-
node-version: v20.14.0
14+
node-version: v24.12.0
1615

1716
- name: Test and Build
1817
run: |

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ There is [an experimental `navi` branch](https://github.com/graphhopper/graphhop
1818
## Start development:
1919

2020
* Clone this repository.
21-
* Make sure node and npm are installed. We recommend using the iron LTS (node v20.14.0 and npm 10.7.0).
21+
* Make sure node and npm are installed. We recommend using the iron LTS (node v24.12.0 and npm v11.6.2).
2222
* npm install
2323
* npm run serve
2424
* Open your browser at http://0.0.0.0:3000/.

0 commit comments

Comments
 (0)