Skip to content

Commit

Permalink
Require Node.js 18 and update Mocha
Browse files Browse the repository at this point in the history
Fixes #206
Fixes #204
Fixes #205
  • Loading branch information
sindresorhus committed Oct 26, 2023
1 parent 44b040f commit e51ba80
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/main.yml
Expand Up @@ -10,12 +10,11 @@ jobs:
fail-fast: false
matrix:
node-version:
- 14
- 12
- 10
- 20
- 18
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install
Expand Down
2 changes: 1 addition & 1 deletion gulpfile.js
@@ -1,6 +1,6 @@
'use strict';
const gulp = require('gulp');
const mocha = require('.');
const mocha = require('./index.js');

exports.default = () => (
gulp.src('test/fixtures/fixture-pass.js', {read: false})
Expand Down
7 changes: 4 additions & 3 deletions package.json
Expand Up @@ -10,8 +10,9 @@
"email": "sindresorhus@gmail.com",
"url": "https://sindresorhus.com"
},
"exports": "./index.js",
"engines": {
"node": ">=10"
"node": ">=18"
},
"scripts": {
"test": "xo && ava"
Expand All @@ -37,7 +38,7 @@
"dependencies": {
"dargs": "^7.0.0",
"execa": "^5.0.0",
"mocha": "^8.3.0",
"mocha": "^10.2.0",
"plugin-error": "^1.0.1",
"supports-color": "^8.1.1",
"through2": "^4.0.2"
Expand All @@ -46,7 +47,7 @@
"ava": "^2.3.0",
"gulp": "^4.0.2",
"p-event": "^4.2.0",
"vinyl": "^2.2.1",
"vinyl": "^3.0.0",
"xo": "^0.37.1"
},
"peerDependencies": {
Expand Down

0 comments on commit e51ba80

Please sign in to comment.