Skip to content

Commit

Permalink
Spark 501675 upgrade node version (#831)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kesari3008 authored Jul 15, 2024
1 parent b6e89d2 commit 290073c
Show file tree
Hide file tree
Showing 15 changed files with 35,475 additions and 24,533 deletions.
18 changes: 9 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
version: 2.1

executors:
node-fermium-executor:
node-iron-executor:
working_directory: ~/webex-components
docker:
- image: circleci/node:fermium
- image: cimg/node:20.13.1

jobs:
install:
executor: node-fermium-executor
executor: node-iron-executor
steps:
- checkout
- restore_cache:
keys:
- dependency-cache-{{ checksum "package-lock.json" }}
- run:
name: Install dependencies & peer dependencies
command: npx npm-install-peers
command: npm install
- save_cache:
key: dependency-cache-{{ checksum "package-lock.json" }}
paths: node_modules
Expand All @@ -25,7 +25,7 @@ jobs:
paths: .

lint:
executor: node-fermium-executor
executor: node-iron-executor
steps:
- attach_workspace:
at: .
Expand All @@ -34,18 +34,18 @@ jobs:
command: npm run linter

unit_test:
executor: node-fermium-executor
executor: node-iron-executor
steps:
- attach_workspace:
at: .
- run:
name: Unit Test Coverage
command: npm run test:coverage
command: npm run test:coverage -- -u
- store_test_results:
path: test_results

storybook_preview:
executor: node-fermium-executor
executor: node-iron-executor
steps:
- attach_workspace:
at: .
Expand All @@ -54,7 +54,7 @@ jobs:
command: npm run chromatic -- --project-token=$CHROMATIC_PROJECT_TOKEN --exit-zero-on-changes

build:
executor: node-fermium-executor
executor: node-iron-executor
steps:
- attach_workspace:
at: .
Expand Down
12 changes: 11 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@
"plugin:jsdoc/recommended",
"plugin:jsx-a11y/recommended"
],
"settings": {
"import/resolver": {
"alias": {
"map": [
["@webex/component-adapter-interfaces", "./node_modules/@webex/component-adapter-interfaces/dist/webex-component-adapter-interfaces.es"]
],
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
},
"globals": {
"rxjs": "readonly",
"shallow": "readonly"
Expand Down Expand Up @@ -114,4 +124,4 @@
}
}
]
}
}
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lts/fermium
lts/iron
Loading

0 comments on commit 290073c

Please sign in to comment.