Skip to content

Commit 02d9af6

Browse files
authored
chore(common): update node to 22 (#2836)
1 parent 62d6073 commit 02d9af6

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

.circleci/config.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ aliases:
22
- &node_executor
33
executor:
44
name: node/node
5-
node-version: "20.6.0"
5+
node-version: "22.13.0"
66

77
version: 2.1
88

@@ -66,7 +66,7 @@ jobs:
6666

6767
build:
6868
<<: *node_executor
69-
resource_class: medium+
69+
resource_class: large
7070
steps:
7171
- ci/pre-setup
7272
- node/npm-install
@@ -132,7 +132,6 @@ workflows:
132132
- test-packages
133133
- lint
134134
- build
135-
- ci/validate-commits
136135

137136
# Only build and push CDN artifact when commits are merged to canonical repo
138137
- build_cdn:
@@ -145,7 +144,6 @@ workflows:
145144
- test-packages
146145
- lint
147146
- build
148-
- ci/validate-commits
149147
- ci/build-js-artifact:
150148
context: "GCR + Artifact Bucket Access"
151149
dist_directory: dist-cdn
@@ -177,7 +175,6 @@ workflows:
177175
- test-packages
178176
- lint
179177
- build
180-
- ci/validate-commits
181178
- npm_release:
182179
requires:
183180
- approve_npm_release

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919
"url": "https://github.com/bigcommerce/checkout-sdk-js/issues"
2020
},
2121
"engines": {
22-
"node": "20",
23-
"npm": "9"
22+
"node": "22",
23+
"npm": "10"
2424
},
2525
"prettier": "@bigcommerce/eslint-config/prettier",
2626
"homepage": "https://github.com/bigcommerce/checkout-sdk-js",
2727
"scripts": {
28-
"prepare": "check-node-version --node '>=20' --npm '>=9'",
28+
"prepare": "check-node-version --node '>=22' --npm '>=10'",
2929
"build": "npm run bundle && npm run bundle-dts",
3030
"build:link": "rm -rf dist && npx nx run core:build --skip-nx-cache && npm run bundle-dts",
3131
"prebuild-cdn": "rm -rf dist-cdn",

0 commit comments

Comments
 (0)