Skip to content

Commit

Permalink
Update Node versions used on GitHub Actions (#1283)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
coliff authored Mar 18, 2023
1 parent 21a589a commit 23672f5
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
node:
- 14
- 16
- 17
- 18
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
node:
- 14
- 16
- 17
- 18
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
3 changes: 3 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 23672f5

Please sign in to comment.