Skip to content

Commit 290073c

Browse files
authored
Spark 501675 upgrade node version (#831)
1 parent b6e89d2 commit 290073c

File tree

15 files changed

+35475
-24533
lines changed

15 files changed

+35475
-24533
lines changed

.circleci/config.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
version: 2.1
22

33
executors:
4-
node-fermium-executor:
4+
node-iron-executor:
55
working_directory: ~/webex-components
66
docker:
7-
- image: circleci/node:fermium
7+
- image: cimg/node:20.13.1
88

99
jobs:
1010
install:
11-
executor: node-fermium-executor
11+
executor: node-iron-executor
1212
steps:
1313
- checkout
1414
- restore_cache:
1515
keys:
1616
- dependency-cache-{{ checksum "package-lock.json" }}
1717
- run:
1818
name: Install dependencies & peer dependencies
19-
command: npx npm-install-peers
19+
command: npm install
2020
- save_cache:
2121
key: dependency-cache-{{ checksum "package-lock.json" }}
2222
paths: node_modules
@@ -25,7 +25,7 @@ jobs:
2525
paths: .
2626

2727
lint:
28-
executor: node-fermium-executor
28+
executor: node-iron-executor
2929
steps:
3030
- attach_workspace:
3131
at: .
@@ -34,18 +34,18 @@ jobs:
3434
command: npm run linter
3535

3636
unit_test:
37-
executor: node-fermium-executor
37+
executor: node-iron-executor
3838
steps:
3939
- attach_workspace:
4040
at: .
4141
- run:
4242
name: Unit Test Coverage
43-
command: npm run test:coverage
43+
command: npm run test:coverage -- -u
4444
- store_test_results:
4545
path: test_results
4646

4747
storybook_preview:
48-
executor: node-fermium-executor
48+
executor: node-iron-executor
4949
steps:
5050
- attach_workspace:
5151
at: .
@@ -54,7 +54,7 @@ jobs:
5454
command: npm run chromatic -- --project-token=$CHROMATIC_PROJECT_TOKEN --exit-zero-on-changes
5555

5656
build:
57-
executor: node-fermium-executor
57+
executor: node-iron-executor
5858
steps:
5959
- attach_workspace:
6060
at: .

.eslintrc.json

+11-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@
2323
"plugin:jsdoc/recommended",
2424
"plugin:jsx-a11y/recommended"
2525
],
26+
"settings": {
27+
"import/resolver": {
28+
"alias": {
29+
"map": [
30+
["@webex/component-adapter-interfaces", "./node_modules/@webex/component-adapter-interfaces/dist/webex-component-adapter-interfaces.es"]
31+
],
32+
"extensions": [".js", ".jsx", ".ts", ".tsx"]
33+
}
34+
}
35+
},
2636
"globals": {
2737
"rxjs": "readonly",
2838
"shallow": "readonly"
@@ -114,4 +124,4 @@
114124
}
115125
}
116126
]
117-
}
127+
}

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
lts/fermium
1+
lts/iron

0 commit comments

Comments
 (0)