Skip to content

Commit 3f3b011

Browse files
authored
Infra: Node updates (#2235)
- Update CI to currently supported Nodes - Bump chromatic/docs to LTS 16 Closes #2227
1 parent 57a45a3 commit 3f3b011

File tree

5 files changed

+655
-445
lines changed

5 files changed

+655
-445
lines changed

.github/workflows/chromatic.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
- uses: actions/setup-node@v2
2424
with:
25-
node-version: 14.x
25+
node-version: 16.x
2626

2727
- name: Get Yarn Cache Directory Path
2828
id: cache-dir-path

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
DISPLAY: :99.0
2626
strategy:
2727
matrix:
28-
node-version: [12.x, 14.x]
28+
node-version: [14.x, 16.x, 18.x]
2929
steps:
3030
- uses: actions/checkout@v2
3131
- uses: actions/setup-node@v2

.github/workflows/docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- uses: actions/checkout@v2
2828
- uses: actions/setup-node@v2
2929
with:
30-
node-version: 14.x
30+
node-version: 16.x
3131

3232
- name: Get Yarn Cache Directory Path
3333
id: cache-dir-path

package.json

+10-12
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@
7878
"babel-preset-react-native": "^4.0.1",
7979
"chai": "^3.5.0",
8080
"chromatic": "^5.0.0",
81-
"core-js": "^2.5.1",
8281
"cross-env": "^5.2.0",
8382
"emotion-theming": "^10.0.27",
8483
"enzyme": "^3.11.0",
@@ -98,23 +97,22 @@
9897
"istanbul-instrumenter-loader": "^3.0.0",
9998
"jest": "^27.5.1",
10099
"json-loader": "^0.5.4",
101-
"karma": "^6.3.4",
102-
"karma-benchmark": "^0.6.0",
100+
"karma": "^6.3.19",
101+
"karma-benchmark": "^1.0.4",
103102
"karma-benchmarkjs-reporter": "^1.0.0",
104-
"karma-chrome-launcher": "^2.0.0",
103+
"karma-chrome-launcher": "^3.1.1",
105104
"karma-coverage-istanbul-reporter": "^3.0.3",
106-
"karma-firefox-launcher": "^1.0.0",
105+
"karma-firefox-launcher": "^2.1.2",
107106
"karma-ie-launcher": "^1.0.0",
108-
"karma-mocha": "^1.1.1",
107+
"karma-mocha": "^2.0.1",
109108
"karma-safari-launcher": "^1.0.0",
110109
"karma-sauce-launcher": "^4.1.5",
111-
"karma-spec-reporter": "0.0.26",
110+
"karma-spec-reporter": "0.0.34",
112111
"karma-webpack": "^5.0.0",
113112
"lerna": "^3.22.0",
114113
"link-parent-bin": "^2.0.0",
115114
"lodash": "^4.17.19",
116115
"lodash-webpack-plugin": "^0.11.6",
117-
"match-str": "^0.2.1",
118116
"metro-react-native-babel-preset": "0.66.2",
119117
"mocha": "^5.0.0",
120118
"node-polyfill-webpack-plugin": "^1.1.4",
@@ -132,10 +130,10 @@
132130
"storybook-addon-performance": "^0.10.0",
133131
"ts-loader": "^6.2.1",
134132
"typescript": "^3.7.5",
135-
"webpack": "^5.0.0",
136-
"webpack-cli": "^4.7.2",
137-
"webpack-dev-server": "^3.11.2",
138-
"webpack-stats-plugin": "^0.1.1"
133+
"webpack": "^5.72.1",
134+
"webpack-cli": "^4.9.2",
135+
"webpack-dev-server": "^4.9.0",
136+
"webpack-stats-plugin": "^1.0.3"
139137
},
140138
"sideEffects": false
141139
}

0 commit comments

Comments
 (0)