Skip to content

Commit

Permalink
Require Node.js 14
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jun 6, 2022
1 parent c65a1bb commit 4081b02
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 12 deletions.
3 changes: 0 additions & 3 deletions .github/funding.yml

This file was deleted.

7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ jobs:
fail-fast: false
matrix:
node-version:
- 18
- 16
- 14
- 12
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
},
"type": "module",
"exports": "./index.js",
"types": "./index.d.ts",
"engines": {
"node": ">=12"
"node": ">=14.16"
},
"scripts": {
"test": "xo && ava && tsd"
Expand Down Expand Up @@ -44,8 +45,8 @@
"parse-ms": "^3.0.0"
},
"devDependencies": {
"ava": "^3.15.0",
"tsd": "^0.19.0",
"xo": "^0.47.0"
"ava": "^4.3.0",
"tsd": "^0.20.0",
"xo": "^0.49.0"
}
}
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
## Install

```
$ npm install pretty-ms
```sh
npm install pretty-ms
```

## Usage
Expand Down

0 comments on commit 4081b02

Please sign in to comment.