From cf559da90c42b40e2cb8b4a16bc444683285c89d Mon Sep 17 00:00:00 2001 From: Christian Oliff Date: Mon, 8 Sep 2025 23:42:28 +0900 Subject: [PATCH 1/2] Update GitHub Actions and Node.js engine requirements Bump actions/setup-node to v5.0.0 and actions/checkout to v5.0.0 in workflow files for improved reliability and security. Lower Node.js engine requirement to >=18 in package files and update Volta node version in website/package.json. Also remove 'git+' prefix from repository URL in package.json. --- .github/workflows/publish.yml | 2 +- .github/workflows/test.yml | 6 +++--- .github/workflows/website.yml | 2 +- package-lock.json | 2 +- package.json | 2 +- website/package.json | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5123f929d..f5b0cc5d5 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,7 +16,7 @@ jobs: persist-credentials: false - name: ⎔ Setup node - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 + uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0 with: registry-url: 'https://registry.npmjs.org' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 525b98e73..708dffe1a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,12 +14,12 @@ jobs: runs-on: ubuntu-latest steps: - name: ⬇️ Checkout - uses: actions/checkout@v5 + uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 with: persist-credentials: false - name: ⎔ Setup node - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 + uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0 with: cache: npm @@ -53,7 +53,7 @@ jobs: persist-credentials: false - name: ⎔ Setup node ${{ matrix.node }} - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 + uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0 with: node-version: ${{ matrix.node }} cache: npm diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index f82050bf8..b99e2fda4 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -23,7 +23,7 @@ jobs: persist-credentials: false - name: ⎔ Setup node - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 + uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0 with: cache: npm cache-dependency-path: website/package-lock.json diff --git a/package-lock.json b/package-lock.json index 6d37643af..3ae0835a8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -42,7 +42,7 @@ "typescript": "5.4.5" }, "engines": { - "node": ">=20" + "node": ">=18" }, "funding": { "type": "Open Collective", diff --git a/package.json b/package.json index 8b950c296..cc6457208 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/htmlhint/HTMLHint.git" + "url": "https://github.com/htmlhint/HTMLHint.git" }, "funding": { "type": "Open Collective", diff --git a/website/package.json b/website/package.json index 948bd3cec..4159a64f2 100644 --- a/website/package.json +++ b/website/package.json @@ -37,6 +37,6 @@ "node": ">=20" }, "volta": { - "node": "20.19.2" + "node": "20.19.4" } } From 37640f2f6a791bfc3feca97ce43c7c923b0ae9bc Mon Sep 17 00:00:00 2001 From: Christian Oliff Date: Mon, 8 Sep 2025 23:47:13 +0900 Subject: [PATCH 2/2] Update Node.js engine requirement to version 20 --- package-lock.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 3ae0835a8..6d37643af 100644 --- a/package-lock.json +++ b/package-lock.json @@ -42,7 +42,7 @@ "typescript": "5.4.5" }, "engines": { - "node": ">=18" + "node": ">=20" }, "funding": { "type": "Open Collective",