linz / elevation

NZ elevation data freely available to use under an open license.
s3://nz-elevation
Other
10 stars 0 forks source link

build: update to Node.js 22 TDE-1193 #299

Open l0b0 opened 1 month ago

l0b0 commented 1 month ago
  1. Update the engine:

    jq '.engines.node = "^22.2.0"' package.json | sponge package.json
  2. Update the lock file:

    npm install
  3. Update the uses of actions/setup-node:

    for path in .github/workflows/*.y*ml; do
       yq --inplace '((.jobs.*.steps[] | select(.uses == "actions/setup-node*")) | del(.name) | .with.node-version) = "22.x"' "$path"
    done
  4. Update the uses of linz/action-typescript:

    for path in .github/workflows/*.y*ml; do
       yq --inplace '(.jobs.*.steps[] | select(.uses == "linz/action-typescript*").with.node-version) = "22.x"' "$path"
    done