Skip to content

Commit

Permalink
fix(node): wrong supported version of Node.js
Browse files Browse the repository at this point in the history
Was 8, but it failed on 8, 10 is minimal
  • Loading branch information
Anidetrix committed Mar 14, 2020
1 parent 5ec9d5c commit 3fb9f80
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node: ["12", "8"]
node: ["12", "10"]

steps:
- name: Code Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

strategy:
matrix:
node: ["12", "8"]
node: ["12", "10"]

steps:
- name: Code Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

strategy:
matrix:
node: ["12", "8"]
node: ["12", "10"]

steps:
- name: Code Checkout
Expand Down
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = api => {
api.cache.invalidate(() => process.env.NODE_ENV === "production");

const presets = [["@babel/preset-env", { targets: { node: "8" } }]];
const presets = [["@babel/preset-env", { targets: { node: "10" } }]];
const plugins = [];

if (api.env("test")) presets[0][1].modules = "commonjs";
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"url": "https://github.com/Anidetrix/rollup-plugin-styles/issues"
},
"engines": {
"node": ">=8.3.0"
"node": ">=10"
},
"homepage": "https://github.com/Anidetrix/rollup-plugin-styles#readme",
"devDependencies": {
Expand All @@ -58,7 +58,7 @@
"@types/icss-utils": "^4",
"@types/jest": "^25",
"@types/less": "^3",
"@types/node": "^8",
"@types/node": "*",
"@types/postcss-load-config": "^2",
"@types/resolve": "^1",
"@typescript-eslint/eslint-plugin": "^2",
Expand Down

0 comments on commit 3fb9f80

Please sign in to comment.