Skip to content

Commit 7df8af4

Browse files
chore: update GitHub workflow node version and define node version in package.json (#650)
1 parent 63abc60 commit 7df8af4

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
- uses: actions/checkout@v4
1010
- uses: actions/setup-node@v4
1111
with:
12-
node-version: 18
12+
node-version: 20
1313
- run: |
1414
npm install --legacy-peer-deps
1515
- run: |
@@ -19,4 +19,4 @@ jobs:
1919
- uses: actions/upload-artifact@v4
2020
with:
2121
name: code-coverage-report
22-
path: reports
22+
path: reports

package-lock.json

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,8 @@
7474
"*.js": [
7575
"eslint"
7676
]
77+
},
78+
"engines": {
79+
"node": ">=20"
7780
}
7881
}

0 commit comments

Comments
 (0)