Skip to content

Commit 75c7824

Browse files
authored
Merge pull request #377 from htmlhint/dev/coliff/config-fixes
Use .nvmrc for Node and bump htmlhint
2 parents f7f3645 + 06c0b15 commit 75c7824

4 files changed

Lines changed: 12 additions & 14 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
2121
with:
22-
node-version: 22
22+
node-version-file: .nvmrc
2323

2424
- run: npm ci
2525

.github/workflows/super-linter.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,13 @@ jobs:
2626
fetch-depth: 0
2727
persist-credentials: false
2828

29+
- name: Setup Node.js
30+
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
31+
with:
32+
node-version-file: .nvmrc
33+
34+
- run: npm ci
35+
2936
- name: Lint Code Base
3037
uses: super-linter/super-linter/slim@61abc07d755095a68f4987d1c2c3d1d64408f1f9 # v8.5.0
3138
env:

.github/workflows/test.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,13 @@ on:
88
pull_request:
99
workflow_dispatch:
1010

11-
env:
12-
FORCE_COLOR: 2
13-
1411
permissions:
1512
contents: read
1613

1714
jobs:
1815
run:
19-
name: Node ${{ matrix.node }} on ${{ matrix.os }}
20-
runs-on: ${{ matrix.os }}
21-
22-
strategy:
23-
fail-fast: false
24-
matrix:
25-
node: [22]
26-
os: [ubuntu-latest]
16+
name: Node
17+
runs-on: ubuntu-latest
2718

2819
steps:
2920
- name: Clone repository
@@ -34,7 +25,7 @@ jobs:
3425
- name: Set up Node.js
3526
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
3627
with:
37-
node-version: ${{ matrix.node }}
28+
node-version-file: .nvmrc
3829
cache: npm
3930

4031
- name: Install npm dependencies

htmlhint/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"vscode:prepublish": "npm run compile && npm run bundle-dependencies",
8888
"compile": "tsc -p ./",
8989
"watch": "tsc -watch -p ./",
90-
"bundle-dependencies": "npm install --no-package-lock --no-save --no-fund htmlhint@1.8.1 strip-json-comments@3.1.1 vscode-languageserver@9.0.1 vscode-languageserver-textdocument@1.0.12 vscode-uri@3.1.0 ignore@7.0.5",
90+
"bundle-dependencies": "npm install --no-package-lock --no-save --no-fund htmlhint@1.9.2 strip-json-comments@3.1.1 vscode-languageserver@9.0.1 vscode-languageserver-textdocument@1.0.12 vscode-uri@3.1.0 ignore@7.0.5",
9191
"package": "vsce package"
9292
},
9393
"devDependencies": {

0 commit comments

Comments
 (0)