diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1c29cc49..bc038811 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,12 +19,15 @@ jobs: suite: 'puppeteer' - desc: 'Types' suite: 'types' + - desc: 'Node.js 14' + suite: 'node' + node: 14 + - desc: 'Node.js 16' + suite: 'node' + node: 16 - desc: 'Node.js 18' suite: 'node' node: 18 - - desc: 'Node.js 20' - suite: 'node' - node: 20 name: ${{ matrix.desc }} steps: - name: Check out sources @@ -36,7 +39,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v4 with: - node-version: ${{ matrix.node || 20 }} + node-version: ${{ matrix.node || 16 }} - name: Install dependencies uses: sergioramos/yarn-actions/install@v6 with: diff --git a/docs/installation.md b/docs/installation.md index b58fb1b9..b5195e5d 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -82,7 +82,7 @@ who provide their great service glady for Open Source project for free. ## Node.js support -tus-js-client is tested and known to work in Node.js v18 or newer. +tus-js-client is tested and known to work in Node.js v14 or newer. Since Node's environment is quite different than a browser's runtime and provides other capabilities but also restrictions, tus-js-client will have a diff --git a/package.json b/package.json index 30a7c304..9ac7dd95 100644 --- a/package.json +++ b/package.json @@ -17,9 +17,6 @@ "./lib/node/index.js": "./lib/browser/index.js" }, "types": "./lib/index.d.ts", - "engines": { - "node": ">=18" - }, "repository": { "type": "git", "url": "https://github.com/tus/tus-js-client.git"