diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7ee0feb8..03b7ad07 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [10.x, 12.x, 14.x, 16.x, 18.x] + node-version: [16.x, 18.x] steps: - name: checkout uses: actions/checkout@v2 @@ -25,7 +25,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [10.x, 12.x, 14.x, 16.x, 18.x] + node-version: [16.x, 18.x] steps: - name: checkout uses: actions/checkout@v2 @@ -43,7 +43,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [10.x] + node-version: [16.x] steps: - name: checkout uses: actions/checkout@v2 diff --git a/docs/migrating-to-6.md b/docs/migrating-to-6.md new file mode 100644 index 00000000..843987be --- /dev/null +++ b/docs/migrating-to-6.md @@ -0,0 +1,5 @@ +# Migrating to `hafas-client@5` + +## If you use Node.js <16… + +…migrate to Node `16` ("Gallium"), sorry. [Node `10`, `12` & `14` are out of (active) LTS now](https://nodejs.org/en/about/releases/). diff --git a/package.json b/package.json index db5186bd..34f20826 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "http" ], "engines": { - "node": ">=10" + "node": ">=16" }, "dependencies": { "@derhuerst/br2nl": "^1.0.0",