Skip to content

Commit

Permalink
ci!: drops support for node 16 - BREAKING
Browse files Browse the repository at this point in the history
  • Loading branch information
sverweij committed Oct 6, 2023
1 parent ece9b46 commit ee4c2e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fail-fast: false
matrix:
node-version:
- 16.x
- 18.x
- 20.x
platform:
- ubuntu-latest
Expand All @@ -37,6 +37,3 @@ jobs:
if: matrix.platform == 'ubuntu-latest' && matrix.node-version == '20.x'
- run: npm run depcruise
- run: npm test
if: matrix.node-version != '16.x'
- run: npm run test:only-for-node-16-without-the-test-reporter
if: matrix.node-version == '16.x'
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
},
"devDependencies": {
"@types/mocha": "10.0.2",
"@types/node": "20.8.2",
"@typescript-eslint/eslint-plugin": "6.7.4",
"c8": "8.0.1",
"dependency-cruiser": "14.1.0",
Expand Down Expand Up @@ -78,7 +79,6 @@
"lint:fix": "npm-run-all lint:fix:eslint format",
"lint:fix:eslint": "eslint --fix src types",
"test": "c8 node --no-warnings --loader 'tsx' --test-reporter dot --test src/*.test.ts",
"test:only-for-node-16-without-the-test-reporter": "node --no-warnings --loader 'tsx' --test src/*.test.ts",
"test:watch": "find src | NODE_OPTIONS=--no-warnings entr -c npm test",
"update-dependencies": "npm-run-all upem:update upem:install lint:fix check",
"upem-outdated": "npm outdated --json --long | dist/cli.js --dry-run",
Expand All @@ -88,6 +88,6 @@
"prepare": "husky install"
},
"engines": {
"node": "^16||^18||>=20"
"node": "^18.17||>=20"
}
}

0 comments on commit ee4c2e0

Please sign in to comment.