diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d3ba76092..fe919b7eb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: | diff --git a/.nvmrc b/.nvmrc index cb406c60c..8b0beab16 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16.20.2 +20.11.0 diff --git a/action.yml b/action.yml index 70e310a07..faa6a6a09 100644 --- a/action.yml +++ b/action.yml @@ -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' diff --git a/package-lock.json b/package-lock.json index 600a9268f..e796b1672 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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": { diff --git a/package.json b/package.json index 4a53024a6..263621010 100644 --- a/package.json +++ b/package.json @@ -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",