Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

strategy:
matrix:
node-version: [22.x]
node-version: [22.x, 24.x]

steps:
- uses: actions/checkout@v6
Expand All @@ -31,7 +31,6 @@ jobs:
npm run clean
npm run build
npm run test
- run: npm test
- name: Coveralls
uses: coverallsapp/github-action@master
with:
Expand All @@ -46,7 +45,7 @@ jobs:
- uses: actions/setup-node@v6
with:
# renovate: datasource=docker depName=node
node-version: "22"
node-version: "24"
- name: "Build Package"
run: |
npm run clean
Expand All @@ -66,6 +65,7 @@ jobs:
runs-on: ubuntu-latest
needs:
- build
- package
steps:
- run: exit 1
# see https://stackoverflow.com/a/67532120/4907315
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Setup NodeJS
uses: actions/setup-node@v6
with:
node-version: '22'
node-version: '24'
registry-url: 'https://registry.npmjs.org'

- name: Package Application
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:22.22.1-slim
FROM node:24.14.0-slim

ARG BUILD_DATE
ARG APP_VERSION
Expand Down
27 changes: 14 additions & 13 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"@types/json5": "^2.2.0",
"@types/minimist": "^1.2.1",
"@types/mocha": "^10.0.0",
"@types/node": "^22.0.0",
"@types/node": "^24.0.0",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"ajv-keywords": "^5.0.0",
Expand All @@ -65,7 +65,7 @@
"prettier": "^3.8.1",
"rimraf": "^6.0.0",
"ts-node": "^10.0.0",
"typescript": "^4.1.2"
"typescript": "^5.2.0"
},
"peerDependencies": {
"ts-node": ">=9.0.0"
Expand Down
6 changes: 3 additions & 3 deletions test/validate.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import cli from "./cli"
import assert from "assert"
import type {DefinedError} from "ajv"
import type {ErrorObject} from "ajv"

describe("validate", function () {
this.timeout(10000)
Expand Down Expand Up @@ -369,10 +369,10 @@ function assertRequiredErrors(stderr: string, schemaRef = "#", count = 1): void
})
}

function assertErrors(stderr: string, count = 1): DefinedError[][] {
function assertErrors(stderr: string, count = 1): ErrorObject[][] {
const lines = stderr.split("\n")
assert.strictEqual(lines.length, count * 2 + 1)
const results: DefinedError[][] = []
const results: ErrorObject[][] = []
for (let i = 0; i < count; i += 2) {
assert(/\sinvalid/.test(lines[i]))
const errors = JSON.parse(lines[i + 1])
Expand Down
Loading