Skip to content

Commit 06ec338

Browse files
authored
Update GitHub Actions and Node.js engine requirements (#1716)
* 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. * Update Node.js engine requirement to version 20
1 parent f411710 commit 06ec338

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
persist-credentials: false
1717

1818
- name: ⎔ Setup node
19-
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
19+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
2020
with:
2121
registry-url: 'https://registry.npmjs.org'
2222

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: ⬇️ Checkout
17-
uses: actions/checkout@v5
17+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1818
with:
1919
persist-credentials: false
2020

2121
- name: ⎔ Setup node
22-
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
22+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
2323
with:
2424
cache: npm
2525

@@ -53,7 +53,7 @@ jobs:
5353
persist-credentials: false
5454

5555
- name: ⎔ Setup node ${{ matrix.node }}
56-
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
56+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
5757
with:
5858
node-version: ${{ matrix.node }}
5959
cache: npm

.github/workflows/website.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
persist-credentials: false
2424

2525
- name: ⎔ Setup node
26-
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
26+
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
2727
with:
2828
cache: npm
2929
cache-dependency-path: website/package-lock.json

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
"repository": {
1717
"type": "git",
18-
"url": "git+https://github.com/htmlhint/HTMLHint.git"
18+
"url": "https://github.com/htmlhint/HTMLHint.git"
1919
},
2020
"funding": {
2121
"type": "Open Collective",

website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@
3737
"node": ">=20"
3838
},
3939
"volta": {
40-
"node": "20.19.2"
40+
"node": "20.19.4"
4141
}
4242
}

0 commit comments

Comments
 (0)