chore: bump node16 to node20 (#1067)

This commit is contained in:
Sukka 2024-02-14 15:44:52 +08:00 committed by GitHub
parent cdc09a3baa
commit 4eb285e828
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 7 additions and 8 deletions

View File

@ -31,8 +31,7 @@ jobs:
- uses: peaceiris/workflows/setup-node@v0.19.1
with:
node-version: "18"
# node-version-file: ".nvmrc"
node-version-file: ".nvmrc"
- name: Dump version
run: |

2
.nvmrc
View File

@ -1 +1 @@
16.20.2
20.11.0

View File

@ -2,7 +2,7 @@ name: 'GitHub Pages action'
description: 'GitHub Actions for GitHub Pages 🚀 Deploy static files and publish your site easily. Static-Site-Generators-friendly.'
author: 'peaceiris'
runs:
using: 'node16'
using: 'node20'
main: 'lib/index.js'
branding:
icon: 'upload-cloud'

4
package-lock.json generated
View File

@ -40,8 +40,8 @@
"typescript": "^4.9.4"
},
"engines": {
"node": ">=v16.19.0",
"npm": ">=8.0.0"
"node": ">=v20.11.0",
"npm": ">=10.2.4"
}
},
"node_modules/@aashutoshrathi/word-wrap": {

View File

@ -4,8 +4,8 @@
"description": "GitHub Actions for GitHub Pages",
"main": "lib/index.js",
"engines": {
"node": ">=v16.19.0",
"npm": ">=8.0.0"
"node": ">=v20.11.0",
"npm": ">=10.2.4"
},
"scripts": {
"postinstall": "npx husky install",