Skip to content

Commit

Permalink
Drop support for node 12 (#443)
Browse files Browse the repository at this point in the history
* Drop support for node 12

* Bump dep
  • Loading branch information
tclindner committed Mar 5, 2022
1 parent 2a3abbc commit d5f30be
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 50 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3.0.0
with:
node-version: '12.x'
node-version: '14.x'
- run: npm ci --no-progress
- run: npm run lint

Expand All @@ -27,7 +27,7 @@ jobs:

strategy:
matrix:
node: [12, 14]
node: [14, 16]
os: [ubuntu-latest, windows-latest]

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3.0.0
with:
node-version: '12.x'
node-version: '14.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci --no-progress --production
- run: npm version --no-push --no-git-tag-version --yes ${{ github.event.release.tag_name }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3.0.0
with:
node-version: '12.x'
node-version: '14.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci --no-progress --production
- run: npm version --no-push --no-git-tag-version --yes ${{ github.event.release.tag_name }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ First thing first, let's make sure you have the necessary pre-requisites.

#### Node

* [Node.js](https://nodejs.org/) - v12.0.0+
* [Node.js](https://nodejs.org/) - v14.0.0+
* [npm](http://npmjs.com) - v6.0.0+

### Command
Expand Down
75 changes: 33 additions & 42 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@
"eslint": "^8.10.0",
"eslint-formatter-pretty": "^4.1.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^25.7.0",
"eslint-plugin-jest": "^26.1.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-unicorn": "^41.0.0",
"is-plain-obj": "^3.0.0",
"jest": "^27.5.1",
"npm-package-json-lint": "^5.4.2",
"npm-package-json-lint-config-tc": "^4.1.0",
"npm-package-json-lint-config-tc": "^5.0.0",
"prettier": "^2.5.1"
},
"dependencies": {
Expand All @@ -60,7 +60,7 @@
"prettier": "^2.0.0"
},
"engines": {
"node": ">=12.0.0",
"node": ">=14.0.0",
"npm": ">=6.0.0"
},
"license": "MIT"
Expand Down

0 comments on commit d5f30be

Please sign in to comment.