Skip to content

Commit 4eb285e

Browse files
authored
chore: bump node16 to node20 (#1067)
1 parent cdc09a3 commit 4eb285e

File tree

5 files changed

+7
-8
lines changed

5 files changed

+7
-8
lines changed

.github/workflows/test.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ jobs:
3131

3232
- uses: peaceiris/workflows/[email protected]
3333
with:
34-
node-version: "18"
35-
# node-version-file: ".nvmrc"
34+
node-version-file: ".nvmrc"
3635

3736
- name: Dump version
3837
run: |

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16.20.2
1+
20.11.0

action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: 'GitHub Pages action'
22
description: 'GitHub Actions for GitHub Pages 🚀 Deploy static files and publish your site easily. Static-Site-Generators-friendly.'
33
author: 'peaceiris'
44
runs:
5-
using: 'node16'
5+
using: 'node20'
66
main: 'lib/index.js'
77
branding:
88
icon: 'upload-cloud'

package-lock.json

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

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"description": "GitHub Actions for GitHub Pages",
55
"main": "lib/index.js",
66
"engines": {
7-
"node": ">=v16.19.0",
8-
"npm": ">=8.0.0"
7+
"node": ">=v20.11.0",
8+
"npm": ">=10.2.4"
99
},
1010
"scripts": {
1111
"postinstall": "npx husky install",

0 commit comments

Comments
 (0)