Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,15 @@ env:
jobs:
Build:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
node-version: [18, 20, 22, 24]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 14
node-version: ${{ matrix.node-version }}
registry-url: https://npm.pkg.github.com/
- name: Install clang
run: sudo apt-get -y install clang
Expand All @@ -28,6 +32,8 @@ jobs:
run: CC='clang' CXX='clang++' npm install --build-from-source
- name: Package
run: ./node_modules/.bin/node-pre-gyp package publish
- run: npm publish
- name: Publish npm
if: ${{ matrix.node-version == 24 }}
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ VRP.Solve(searchOpts, function (err, solution) {

See [API.md](API.md) for interface documentation and [the example](./example/README.md) for a small self-contained example.

We ship pre-built native binaries (for Node.js LTS 4 and 6 on Linux and macOS).
We ship pre-built native binaries for Node.js 18-24 on Linux.
You will need a compatible C++ stdlib, see below if you encounter issues.
Building from source is supported via the `--build-from-source` flag.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@impargo/node_or_tools",
"version": "1.2.1",
"version": "1.3.0",
"description": "Native module for the or-tools TSP / VRP solvers",
"url": "https://github.com/mapbox/node-or-tools",
"repository": {
Expand Down
Loading