Upgrade to NodeJS 18

* GH Actions: use cache
* GH Actions: use `.nvmrc`
This commit is contained in:
Rotzbua 2023-09-17 19:29:46 +02:00
parent 94846eb82b
commit 49e8619c01
No known key found for this signature in database
GPG key ID: C69022D529C17845
3 changed files with 4 additions and 3 deletions

View file

@ -22,7 +22,8 @@ jobs:
- name: "Install Node"
uses: actions/setup-node@v3
with:
node-version: "16"
node-version-file: ".nvmrc"
cache: "yarn"
- name: "Install dependencies with Yarn"
run: "yarn install"

2
.nvmrc
View file

@ -1 +1 @@
16
18

View file

@ -7,7 +7,7 @@
"doc": "docs"
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"repository": {
"type": "git",