mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-14 05:53:18 +08:00
chore: bump node16 to node20 (#1067)
This commit is contained in:
parent
cdc09a3baa
commit
4eb285e828
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
@ -31,8 +31,7 @@ jobs:
|
|||||||
|
|
||||||
- uses: peaceiris/workflows/setup-node@v0.19.1
|
- uses: peaceiris/workflows/setup-node@v0.19.1
|
||||||
with:
|
with:
|
||||||
node-version: "18"
|
node-version-file: ".nvmrc"
|
||||||
# node-version-file: ".nvmrc"
|
|
||||||
|
|
||||||
- name: Dump version
|
- name: Dump version
|
||||||
run: |
|
run: |
|
||||||
|
@ -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.'
|
description: 'GitHub Actions for GitHub Pages 🚀 Deploy static files and publish your site easily. Static-Site-Generators-friendly.'
|
||||||
author: 'peaceiris'
|
author: 'peaceiris'
|
||||||
runs:
|
runs:
|
||||||
using: 'node16'
|
using: 'node20'
|
||||||
main: 'lib/index.js'
|
main: 'lib/index.js'
|
||||||
branding:
|
branding:
|
||||||
icon: 'upload-cloud'
|
icon: 'upload-cloud'
|
||||||
|
4
package-lock.json
generated
4
package-lock.json
generated
@ -40,8 +40,8 @@
|
|||||||
"typescript": "^4.9.4"
|
"typescript": "^4.9.4"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=v16.19.0",
|
"node": ">=v20.11.0",
|
||||||
"npm": ">=8.0.0"
|
"npm": ">=10.2.4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@aashutoshrathi/word-wrap": {
|
"node_modules/@aashutoshrathi/word-wrap": {
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
"description": "GitHub Actions for GitHub Pages",
|
"description": "GitHub Actions for GitHub Pages",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=v16.19.0",
|
"node": ">=v20.11.0",
|
||||||
"npm": ">=8.0.0"
|
"npm": ">=10.2.4"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "npx husky install",
|
"postinstall": "npx husky install",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user