From 1487458fa53d5844a43ae584b481569bed282a01 Mon Sep 17 00:00:00 2001 From: Christian Oliff Date: Fri, 10 Feb 2023 21:11:27 +0900 Subject: [PATCH] Update Node versions used on GitHub Actions Just use v14, v16 and v18. REF: https://github.com/nodejs/release#release-schedule --- .github/workflows/development.yml | 2 +- .github/workflows/production.yml | 4 ++-- .github/workflows/test-release.yml | 2 +- package-lock.json | 3 +++ package.json | 3 +++ 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/development.yml b/.github/workflows/development.yml index 387dc4ac8..5b1e60f6b 100644 --- a/.github/workflows/development.yml +++ b/.github/workflows/development.yml @@ -37,7 +37,7 @@ jobs: node: - 14 - 16 - - 17 + - 18 os: [ubuntu-latest, macos-latest, windows-latest] steps: diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index a7e0e0b8d..1df31110c 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -37,7 +37,7 @@ jobs: node: - 14 - 16 - - 17 + - 18 os: [ubuntu-latest, macos-latest, windows-latest] steps: @@ -109,7 +109,7 @@ jobs: run: npm run build - name: 🚢 Release - uses: cycjimmy/semantic-release-action@v2 + uses: cycjimmy/semantic-release-action@v3 with: extra_plugins: | @semantic-release/changelog diff --git a/.github/workflows/test-release.yml b/.github/workflows/test-release.yml index 5eff80f5f..07e94f79d 100644 --- a/.github/workflows/test-release.yml +++ b/.github/workflows/test-release.yml @@ -35,7 +35,7 @@ jobs: run: npm run build - name: 🚢 Release - uses: cycjimmy/semantic-release-action@v2 + uses: cycjimmy/semantic-release-action@v3 with: dry_run: true extra_plugins: | diff --git a/package-lock.json b/package-lock.json index 50d28342b..3bc58957e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -46,6 +46,9 @@ "rollup": "^2.60.1", "rollup-plugin-terser": "^7.0.2", "typescript": "^4.5.2" + }, + "engines": { + "node": ">=14" } }, "node_modules/@ampproject/remapping": { diff --git a/package.json b/package.json index d6df746b4..934c54f76 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,9 @@ "type": "git", "url": "git+https://github.com/htmlhint/HTMLHint.git" }, + "engines": { + "node": ">=14" + }, "license": "MIT", "main": "dist/htmlhint.js", "module": "dist/core/core.js",