Skip to content

Commit 23672f5

Browse files
authored
Update Node versions used on GitHub Actions (#1283)
* Update Node versions used on GitHub Actions Just use v16 and v18. v14 support drops in a couple of months and using just 2 Node versions will be faster. REF: https://github.com/nodejs/release#release-schedule * update GitHub Action versions
1 parent 21a589a commit 23672f5

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

.github/workflows/development.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
node:
3838
- 14
3939
- 16
40-
- 17
40+
- 18
4141
os: [ubuntu-latest, macos-latest, windows-latest]
4242

4343
steps:

.github/workflows/production.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
node:
3838
- 14
3939
- 16
40-
- 17
40+
- 18
4141
os: [ubuntu-latest, macos-latest, windows-latest]
4242

4343
steps:
@@ -109,7 +109,7 @@ jobs:
109109
run: npm run build
110110

111111
- name: 🚢 Release
112-
uses: cycjimmy/semantic-release-action@v2
112+
uses: cycjimmy/semantic-release-action@v3
113113
with:
114114
extra_plugins: |
115115
@semantic-release/changelog

.github/workflows/test-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
run: npm run build
3636

3737
- name: 🚢 Release
38-
uses: cycjimmy/semantic-release-action@v2
38+
uses: cycjimmy/semantic-release-action@v3
3939
with:
4040
dry_run: true
4141
extra_plugins: |

package-lock.json

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
"type": "git",
1717
"url": "git+https://github.com/htmlhint/HTMLHint.git"
1818
},
19+
"engines": {
20+
"node": ">=14"
21+
},
1922
"license": "MIT",
2023
"main": "dist/htmlhint.js",
2124
"module": "dist/core/core.js",

0 commit comments

Comments
 (0)