Skip to content

Commit 1d0a5a8

Browse files
build!: drop node v12 (#284)
* build!: drop node v12 * chore: update babel config * docs: remove old badges
1 parent 8b50859 commit 1d0a5a8

File tree

5 files changed

+2485
-2175
lines changed

5 files changed

+2485
-2175
lines changed

.github/workflows/nodejs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
uses: actions/setup-node@v3
3434
with:
3535
node-version: ${{ matrix.node-version }}
36+
cache: 'npm'
3637

3738
- name: Install dependencies
3839
run: npm ci
@@ -52,7 +53,7 @@ jobs:
5253
strategy:
5354
matrix:
5455
os: [ubuntu-latest, windows-latest, macos-latest]
55-
node-version: [12.x, 14.x, 16.x]
56+
node-version: [14.x, 16.x, 18.x]
5657
stylelint-version: [13.x, 14.x]
5758
webpack-version: [latest]
5859

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
[![npm][npm]][npm-url]
77
[![node][node]][node-url]
8-
[![deps][deps]][deps-url]
98
[![tests][tests]][tests-url]
109
[![coverage][cover]][cover-url]
1110
[![chat][chat]][chat-url]
@@ -305,8 +304,6 @@ You can pass in a different formatter for the output file, if none is passed in
305304
[npm-url]: https://npmjs.com/package/stylelint-webpack-plugin
306305
[node]: https://img.shields.io/node/v/stylelint-webpack-plugin.svg
307306
[node-url]: https://nodejs.org
308-
[deps]: https://david-dm.org/webpack-contrib/stylelint-webpack-plugin.svg
309-
[deps-url]: https://david-dm.org/webpack-contrib/stylelint-webpack-plugin
310307
[tests]: https://github.com/webpack-contrib/stylelint-webpack-plugin/workflows/stylelint-webpack-plugin/badge.svg
311308
[tests-url]: https://github.com/webpack-contrib/stylelint-webpack-plugin/actions
312309
[cover]: https://codecov.io/gh/webpack-contrib/stylelint-webpack-plugin/branch/master/graph/badge.svg

babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = (api) => {
1010
'@babel/preset-env',
1111
{
1212
targets: {
13-
node: '12.13.0',
13+
node: '14.15.0',
1414
},
1515
},
1616
],

0 commit comments

Comments
 (0)