Skip to content

Commit

Permalink
Fix support for Node v16 and add for v18 (#392)
Browse files Browse the repository at this point in the history
* update gulp-sass

the new version does not use node-sass which needs python v2 and other deprecated dependencies

* remove Node v10 from unittest workflow

* update browserlist db

* add Node v18 to unittest workflow
  • Loading branch information
vitorhugomattos authored Oct 5, 2022
1 parent df439de commit 06581fd
Show file tree
Hide file tree
Showing 4 changed files with 111 additions and 394 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 16.x]
node-version: [12.x, 14.x, 16.x, 18.x]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

const gulp = require("gulp");
const gutil = require("gulp-util");
const gulpSass = require("gulp-sass");
const gulpSass = require("gulp-sass")(require("sass"));
const autoprefixer = require("gulp-autoprefixer");
const webpack = require("webpack");
const WebpackDevServer = require("webpack-dev-server");
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
"@babel/preset-env": "^7.12.11",
"@babel/preset-react": "^7.0.0",
"@material-ui/core": "^4.0.1",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.1",
"babel-eslint": "10.0.3",
"babel-jest": "24.8.0",
"babel-loader": "8.0.6",
"enzyme": "^3.3.0",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.1",
"enzyme-to-json": "^3.3.1",
"es6-shim": "^0.35.0",
"eslint": "^6.8.0",
Expand All @@ -33,7 +33,7 @@
"estraverse-fb": "^1.3.2",
"gulp": "^4.0.2",
"gulp-autoprefixer": "^6.1.0",
"gulp-sass": "^4.1.0",
"gulp-sass": "^5.1.0",
"gulp-util": "^3.0.8",
"html-loader": "^0.5.1",
"html-webpack-plugin": "^3.2.0",
Expand All @@ -56,6 +56,7 @@
"react-test-renderer": "16.14.0",
"regenerator-runtime": "^0.13.2",
"rimraf": "^2.5.2",
"sass": "^1.55.0",
"svgo": "^1.0.3",
"utils-copy": "^1.1.1",
"webpack": "^4.44.2",
Expand Down
Loading

0 comments on commit 06581fd

Please sign in to comment.