ci, examples : add package-lock.json to examples addon node (#3919)

* ci, examples : add package-lock.json to examples addon node

This commit commits the package-lock.json file for examples/addon.node.

This is needed to make the CI workflow work properly and after we
started pinning the action versions in the workflow, the CI started
failing because the package-lock.json was not committed. At least that
is what I think is happening.

* ci: use node 20.x and 22.x instead of 16.x and 18.x

* fix CMakeLists.txt target properties for addon.node
This commit is contained in:
Daniel Bevenius
2026-07-01 09:04:21 +02:00
committed by GitHub
parent 5cad7abb1e
commit 167d225f3a
3 changed files with 4367 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [ 16.x, 18.x ]
node-version: [ 20.x, 22.x ]
steps:
- name: Clone
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
@@ -33,6 +33,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: examples/addon.node/package-lock.json
- name: Install package.json dependencies
working-directory: ./examples/addon.node