Skip to content

Commit 539ae16

Browse files
authored
build: Bump Node.js to latest LTS, 20.13.1 TDE-1090 (#297)
1. Update the engine: ``` jq '.engines.node = "^20.13.1"' package.json | sponge package.json ``` 2. Update the lock file: ``` npm install ``` 3. 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) = "20.x"' "$path"; done ```
1 parent 556565c commit 539ae16

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
name: Test
22
on:
33
push:
4-
54
jobs:
65
test:
76
runs-on: ubuntu-latest
87
steps:
98
- uses: linz/action-typescript@dee99184c4305aea6c380a52db9b2d7abaaa3e78 # v3
9+
with:
10+
node-version: 20.x

package-lock.json

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,8 @@
2020
"conventional-changelog-cli": "^4.1.0",
2121
"ospec": "^4.1.7",
2222
"stac-node-validator": "^1.3.0"
23+
},
24+
"engines": {
25+
"node": "^20.13.1"
2326
}
2427
}

0 commit comments

Comments
 (0)