diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 94ee58cc..40d6536c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - node: ["12", "8"] + node: ["12", "10"] steps: - name: Code Checkout diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 2059f47d..e032cf3d 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: - node: ["12", "8"] + node: ["12", "10"] steps: - name: Code Checkout diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index de232224..1460135d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: - node: ["12", "8"] + node: ["12", "10"] steps: - name: Code Checkout diff --git a/babel.config.js b/babel.config.js index db0ab14b..3145ccc9 100644 --- a/babel.config.js +++ b/babel.config.js @@ -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"; diff --git a/package.json b/package.json index 08da987e..8a16a3a6 100644 --- a/package.json +++ b/package.json @@ -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": { @@ -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",